one stop for all game coders..
| Visualizing Rigid Bodies |
|
|
| Written by CR Team | ||||||||||||||||||||||||||
| Saturday, 18 July 2009 07:24 | ||||||||||||||||||||||||||
|
With Director 11.5 one can visualize the created proxy using the rb.properties property of the rigid body. Have a look at the help file for details on the same. The following code snippet will allow you to see the created proxy shaped in wireframe mode :). The rigidbody that you see as wireframe is just another mesh created using newmesh() function.
Using it in runtime may cause lower FPS rates.
This will not only help understand rigid body proxy shapes better, but also allow one to tweak it for performance ! Have fun visualizing ;) !!
|