Hi,
A rigid body is falling into a hybido viscous fluid.
I'd like to simulate the Rigid body position animation (mainly z) but lock/forbid any rotation.
(the RB falls but don't rotate)
Is there a simple way to do that ?
Thanks
simulation with locked rotation
- LuisMiguel
- Posts: 528
- Joined: Fri Jun 04, 2010 2:37 pm
Re: simulation with locked rotation
Hey,
you would need to do that by scripting. Make sure you have the object transforms reseted for the position you want to start to simulate for your object. Once the object is imported in the place where you want to start to simulate and its transforms have been reseted, open the Simulation Flow and add a script in the FramePost. Type this
nameOfYourObject.setParameter("Rotation", Vector.new(0.0, 0.0, 0.0))
Next, simulate the scene. The result is weird but it will work as you want.
luisM.
you would need to do that by scripting. Make sure you have the object transforms reseted for the position you want to start to simulate for your object. Once the object is imported in the place where you want to start to simulate and its transforms have been reseted, open the Simulation Flow and add a script in the FramePost. Type this
nameOfYourObject.setParameter("Rotation", Vector.new(0.0, 0.0, 0.0))
Next, simulate the scene. The result is weird but it will work as you want.
luisM.
Re: simulation with locked rotation
Great.
Thanks Luis
Thanks Luis
