DooMAGE Posted January 2, 2017 Posted January 2, 2017 Hello, I tried to mess around with self.entity:SetFriction(0,0) to make the default character controller slide on the floor, but it's not working. I also tried to maje a CSG and put SetFriction(0,0) in there too in the Start function. Thanks Quote My Leadwerks games! https://ragingmages.itch.io/
macklebee Posted January 2, 2017 Posted January 2, 2017 Try changing the max acceleration and deceleration values of the SetInput() function: http://www.leadwerks.com/werkspace/page/api-reference/_/entity/entitysetinput-r706 2 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel
Genebris Posted January 2, 2017 Posted January 2, 2017 Friction won't work, I had to use rigid body for skiing. 1 Quote
DooMAGE Posted January 2, 2017 Author Posted January 2, 2017 Friction won't work, I had to use rigid body for skiing. So I have to change the physics mode from character controller to rigid body for skiing? @macklebee thank you, I'll take a look Quote My Leadwerks games! https://ragingmages.itch.io/
Genebris Posted January 2, 2017 Posted January 2, 2017 Or don't use character controller at all, depends on how important it is for your game. 1 Quote
Josh Posted January 2, 2017 Posted January 2, 2017 Just alter the acceleration / deceleration values in the entity control input function. 2 Quote Let's build cool stuff and have fun.
DooMAGE Posted January 3, 2017 Author Posted January 3, 2017 Just alter the acceleration / deceleration values in the entity control input function. Yeah this works great, until the player try to slide on a non flat surface like a slope/wedge, non flat surfaces stops immediately the player. I'm trying to figure out why. Quote My Leadwerks games! https://ragingmages.itch.io/
Haydenmango Posted January 4, 2017 Posted January 4, 2017 Yeah this works great, until the player try to slide on a non flat surface like a slope/wedge, non flat surfaces stops immediately the player. I'm trying to figure out why. might be related to an issue I am having with character controllers slowing down on slopes - http://www.leadwerks.com/werkspace/topic/15436-character-controller-slows-down-on-steep-slopes/ 1 Quote Check out my game Rogue Snowboarding- https://haydenmango.itch.io/roguesnowboarding
DooMAGE Posted January 5, 2017 Author Posted January 5, 2017 might be related to an issue I am having with character controllers slowing down on slopes - http://www.leadwerks.com/werkspace/topic/15436-character-controller-slows-down-on-steep-slopes/ Yeah it's the same problem :/ Quote My Leadwerks games! https://ragingmages.itch.io/
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.