Jump to content

[SOLVED] RigidBodies fall slow when rotating with setRotation.


photo

Recommended Posts

Posted

 

Hey Guys,

please  help me to understand what's going on.

I have a project with 7 cubes with rigid bodies, 1kg mass, and they have different LDamping so they fall at different speed.

Six of them have also a C++ component to rotate them.

The cube without the component falls always at the same speed.

But the cubes that rotate, for some reason,  fall with different speeds depending how often I use setRotation() in the Update() method of the component.

Please see the video attached.

Is update method not good place to rotate the object cyclically?

Thanks

 

 

 

 

 

Posted

Hi tarragrum, mega thanks for the help! Checked both methods and it works.

  • silent changed the title to [SOLVED] RigidBodies fall slow when rotating with setRotation.
×
×
  • Create New...