How can i add Wallrunning To my game MotiGate

i have a sci fi fps project called motigate it’s a game all about momentum so i need wallrunning so how would i specifically do that

pls help

Hi @Kevin_Herod,

You will need to code that behaviour in JavaScript yourself to create a player controller that supports that.

Out of my head I’d say you will need to raycast against the wall surface and apply a force based on the wall normal.

Try studying the PlayCanvas manual and examples on how all that works.

do you have a specific topic in the manual i should study?

To start with JS scripting in PlayCanvas this:

And then head to the tutorials and give a few a try (e.g. raycasting):