Jump to content

[SOLVED] PlayerActor oscillate on axis Z


photo

Recommended Posts

Hi

 

I use PlayerActor class for move and I have weird issue that PlayerActor oscillate on axis Z, with setPhysical(1) is changed value 0.0XX, with setPhysical(0) is change value 0.XXX.

 

The weird thing is that I have 2 same mesh put in world as reference node, on first it oscillate, on other don't.

 

Do you anybody know what can causes it?

 

Honya

Link to comment

Hi,

 

Have you checked Physics settings for the world? You can remove oscillations by tweaking Penetration factor and Penetration tolerance (for this scene it will be enough to add engine.physics.setPenetrationFactor(0.0f) into the script). 

 

If this unacceptable to you, please let us know or provide more detailed description.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...