Jump to content

Scaled Mesh Collision Bug


photo

Recommended Posts

Posted

When you scale a mesh, a PlayerActor does not properly collide with it. It comes to rest slightly penetrating the surface of the mesh.

 

The attached image shows the penetration of the scaled mesh.

 

Attached is a test case with 2 identical meshes, one of which is scaled, resulting in penetration by the PlayerActor's capsule.

 

There are two player actors so you can see how they each behave with the differently scaled meshes.

 

I know scaling is not recommended with physical bodies, but it should be acceptable to scale plain meshes, right?

 

Edit: oops, wrong forum, meant to put it in the Bug forum. Feel free to move it for me.

post-36-0-70526900-1317162350_thumb.png

actor.zip

  • 2 weeks later...
Posted

Do not scale meshes if you are going to use physics at all. That goes both for physically simulated objects and plain meshes.

Posted

Is there a simple way to scale meshes without re-exporting them from modelling software? I.e. using Resource Editor or some scripting?

Posted

Neither Nodes settings -> Node tab -> Scale nor setScale() from script will not do. Re-exporting is the only option here.

×
×
  • Create New...