I want to do a motorcycle race game.
can somebody give me some advises?
Have no idea now.
How to make a real motorcycle with awayphyesics?Software: Away3D 4.x |
||
liuyi, Member
Posted: 15 September 2011 02:45 AM Total Posts: 65 |
||
Alejandro Santander, Administrator
Posted: 15 September 2011 04:39 PM Total Posts: 414 [ # 1 ] I have seen several vehicle (car) examples in AwayPhysics. I recommend checking the AwayPhysics examples at Github. There is even a vehicle class inherent in the AwayPhysics engine, so I reckon it should be very possible. |
||
|
||
Alejandro Santander, Administrator
Posted: 16 September 2011 04:30 PM Total Posts: 414 [ # 3 ] From another thread, I can see that Yang Li is working on a way to visually debug collision shapes, which should be very handy. So far I am doing things like this regarding this matter: In order to determine the dimensions of a rigid body that applies to a mesh, given that I know beforehand what kind of shape I need to use, I do:
aabb = AxisAlignedBoundingBox(mesh.bounds); In order to imitate the transform of a mesh into its rigid body counterpart, I do:
private function objTransformToBodyTransform(obj:ObjectContainer3D, body:AWPRigidBody):void |