Hey everybody,
i would like to have help with my game's Collisions.
They are VERY messed up.
1. My character model goes half into walls
2. My character model goes into most of the meshes
3. My character fall into some places of the ground.
Here's a screenshot:
And this is all my NGC parameters:
StartCollisionPRO(myserial,myserial,myserial)
StartCollisionDebugPRO()
SetCollisionExclusive( 1 )
#Constant TYPE_PLAYER = 1
#Constant TYPE_WORLD = 2
#Constant ELLIP_2_POLY = 1
#Constant POLY_2_POLY = 2
#Constant RESP_STICK = 1
#Constant RESP_SLIDE = 2
#Constant RESP_SLIDE_NO_SLOPES = 3
#Constant RESP_SLIDE_NO_GRAV = 4
#Constant RESP_SLIDE_NO_ACCEL = 5
#Constant RESP_NONE = 6
#Constant DYN_NO_RESP = 1
#Constant DYN_RESP = 2
SetCollisionsPro( TYPE_PLAYER, TYPE_WORLD, POLY_2_POLY, RESP_SLIDE_NO_GRAV, DYN_NO_RESP, 0 )
CollisionTypePRO( 1, TYPE_PLAYER )
SetObjGravityPRO( 1, 3 )
CollisionTypePRO( 2, TYPE_WORLD )
ActivateObjPRO( 1 )
ActivateObjPRO( 2 )
And in my main loop:
Thanks,
Skalex
Nobody can hear you scream ... you're on a forum!