View Single Post
  #2  
Old 07-21-2004, 09:40 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi Alex,

First I'd like to say that the physics engine interface has not been finalized yet, so it may change in future versions. The reason the object initially shoots up is because it starts out partially below the ground plane, so the physics engine is overcompensating in order push it out. You can either translate the body above the ground plane, or disable it by calling body.disable(). Later you can use body.enable() to have it fall down. What you want to do sounds fine, except for rescaling the object. Currently there is no way to rescale a physics object.
Reply With Quote