I'm a bit of a noob to dp, but I was looking into modifying my movement script so I could implement better collisions. Right now it looks like this:
if keystate(17)=1 then move object 1,1
if keystate(30) then CubeAngle# = wrapvalue(CubeAngle# - 2.0) : yrotate object 1, CubeAngle#
if keystate(31)=1 then move object 1,-1
if keystate(32) then CubeAngle# = wrapvalue(CubeAngle# + 2.0) : yrotate object 1, CubeAngle#
position camera object position x(1),object position y(1),object position z(1)
rotate camera 0,object angle x(1),object angle y(1),object angle z(1)
So, as you can see, the camera is inside a cube that I want to be my collision model/character. It's first person, invisible to me.
I have never used this character controller before, so I was wondering if someone could help me in changing this so it works with the dp character controller.
I have a very simple terrain, which is a square room with pillars in the middle. What I want is for my character to be able to move backwards and forwards with W and S, and strafe left and right with A and D. The mouse will control the camera rotation later on.
So, thanks much in advance if you can help me!