I need help with NGC, what must I do to this code to create an effective collision system where the player collides with the world? With my current game the main player just goes straight through the floor... (this is the first time i've used NGC)...
#Constant TYPE_NGC_ELLIP=1
#Constant TYPE_NGC_MESH=2
#Constant ELLIP_2_POLY=1
#Constant RESP_STICK=1
#Constant RESP_SLIDE=2
#Constant RESP_SLIDE_NO_SLOPES=6
#Constant RESP_SLIDE_NO_GRAV=10
#Constant RESP_SLIDE_NO_ACCEL=18
#Constant RESP_NONE=32
#Constant DYN_NO_RESP=1
#Constant DYN_RESP=2
#Constant DYN_RESP_LOCK=4
#Constant DYN_RESP_LOCK_NOTURN=12
#Constant NCULL_CLOCK=0
#Constant NCULL_COUNTER_CLOCK=1
#Constant NCULL_NONE=2
StartCollisionPRO(000000000,000000000,000000000)
Startcollisiondebugpro()
#constant TYPE_Player = 1
#constant TYPE_World = 2
SetCollisionsPro( TYPE_Player, TYPE_World, ELLIP_2_POLY, RESP_SLIDE_NO_GRAV, DYN_RESP_LOCK )
load object "Directory\Object",Player
Collisiontypepro(Player,TYPE_Player)
load object "Directory\World",World
Collisiontypepro(World,TYPE_World)
Let the games begin.