I'm trying to add a proper collision box for my player character but this is the initial result:
I know it has something to do with the fact that I've resized my model before adding the collision.
With these commands I've made the collision box bigger:
sc_setupobject player_mesh, 0, 1
SC_allowObjectScaling player_mesh
(Note: I use Extends, thus I do not use object numbers but names, or labels)
This is the effect :
It's probably something quite simple, but I've been at this for way too long and its driving me mad about now, but is there a way to change the dimensions and placement of the 'collision box'?
This is my player content loading code:
player_mesh = B3D LOAD OBJECT ("models/player/player.x")
SCALE OBJECT player_mesh, 1000, 1000, 1000
POSITION OBJECT player_mesh, LIMB POSITION X(map, Limb), LIMB POSITION Y(map, Limb), LIMB POSITION Z(map, Limb)
sc_setupobject player_mesh, 0, 1
SC_allowObjectScaling player_mesh
Thanks!
Regards,
Sph!nx