one stop for all game coders..
| Rigid Body creation - D11 |
|
|
| Written by CR Team | |||||||
| Saturday, 18 July 2009 07:52 | |||||||
|
What is a rigid body ? Unlike soft bodies rigid bodies cannot deform in shape when external forces act on it. We will be talking only about rigid body creation wrt to Adobe Director. Rigid bodies can be created using the following set of method ( only in Director 11.5 ): addProxyTemplate() Have linked all of the above methods to the live docs of Director 11.5. The proxy template creations being the new methods added in Director 11.5. In order to create rigid body which are not of type dynamic concave and simple in shape ( less polygon count ) one can use the createRigidBody() method out of the box. createRigidBody() method: syntax :
symbolBodyProxy:
The createRigidBody( ) method can be used to create rigid bodies at runtime , the only draw back being that one cannot create dynamic concave rigid bodies with this method. You can use the newly provided proxy template workflow to create dynamic concave rigid body.
|
|||||||