Bug in TreeCollisionSceneParser??

syedhs

10-10-2006 15:41:03

It seems that if the scale of the entity is not Vector3(1,1,1), the tree collision is not generated for the particular entity.

unclepauly

05-11-2006 19:28:24

i have just had the same problem.

here is an explanation of the problem in more detail:

i am adding trees to my terrian, but the actual .mesh models are massive, so i have no choice but to scale them 0.1, 0.1, 0.1.

if i do not scale them, and leave them massive, i can position them wherever i want (eg Vector(20, 0, 20)) use the TreeCollisionSceneParser successfully to create a collision for the terrain and the tree.

but, if i scale the tree, and position it to Vector(20, 0, 20), the rigid body (as viewed by pressing F3) stays fixed at Vector(1,1,1). Note only the rigid body is fixed there, the actual visual of the mesh is correclty positioned.

i have used Vector(20, 0, 20) as an example - it doesnt matter where i position it, if the mesh is scaled, the actual rigid body is fixed at Vector(1, 1, 1).

is there any fix..?