Posted: 30th Apr 2009 22:35
how can i make a collision box for a .3DS model. I am trying to get my player collide with the tree.
Player
REM OBJECT CREATION
Rem Player Character
make object cylinder 1,50
scale object 1,100,140,100
texture object 1,1
position object 1,0,35,0
make object collision box 1,-25,-35,-25,25,35,25,0
make object cylinder 99,50
make mesh from object 1,99
delete object 99
add limb 1,1,1
offset limb 1,1,0,25,0
scale limb 1,1,100,1,100
texture limb 1,1,99
TREE MODEL
Rem Trees
load object "tree.3ds",97
position object 97,Rnd(1900)-950,0,Rnd(1900)-950
scale object 97,2400,1600,2400
I need to know how to make the collision box for the tree and what to use to check for the collision. If you can I need answers fast!!!!!!