michael.zhang Posted September 27, 2011 Share Posted September 27, 2011 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. actor.zip Link to comment
manguste Posted October 6, 2011 Share Posted October 6, 2011 Do not scale meshes if you are going to use physics at all. That goes both for physically simulated objects and plain meshes. Link to comment
alexei.garbuzenko Posted October 6, 2011 Share Posted October 6, 2011 Is there a simple way to scale meshes without re-exporting them from modelling software? I.e. using Resource Editor or some scripting? Link to comment
manguste Posted October 7, 2011 Share Posted October 7, 2011 Neither Nodes settings -> Node tab -> Scale nor setScale() from script will not do. Re-exporting is the only option here. Link to comment
Recommended Posts