How to scale an object

danharibo

14-07-2006 23:29:57

How can i scale an object? i tried to get the AABB and scale that, but it din't work, so how do you scale a body?

OvermindDL1

15-07-2006 06:52:59

The physics body? Destroy and recreate it at the designated size, that is how I do it.

walaber

15-07-2006 08:51:03

if it's a convex shape, you can scale it dynamically... look at the collision classes, you will see how to do it.

danharibo

17-07-2006 21:10:24

Nevermind, i fixd i, but now my boddy starts to go crazy sometime. its a vehicl btw