Closed rodolfoinfantini closed 3 years ago
You need to add WIP_SURFING to PublicDefinitions.
So in the PBPlayerMovement.h I need to add to public the:
void PreemptCollision(float DeltaTime, float SurfaceFriction);
? And to use is just put a cube rotated in 45 degrees?
Hey sorry if I am Stupid but could you explain how to get this to working? I try to add WIP_SURFINGt to PublicDefinitions but maybe i am doing somthing wrong because its just not working at all.
If it is of interest, we have finally published our full surfing code to the repo, and no extra configuration is needed. (besides maybe setting AirAccelerationMultiplier to 100 or 1000, like how surf servers set it with sv_airaccelerate)
How can I use the surfing feature? I tried with just a box rotated in 45 degrees but didn't work.