DooMAGE Posted January 2, 2017 Share 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/ Link to comment Share on other sites More sharing options...
macklebee Posted January 2, 2017 Share 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 Link to comment Share on other sites More sharing options...
Genebris Posted January 2, 2017 Share Posted January 2, 2017 Friction won't work, I had to use rigid body for skiing. 1 Quote Link to comment Share on other sites More sharing options...
DooMAGE Posted January 2, 2017 Author Share 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/ Link to comment Share on other sites More sharing options...
Genebris Posted January 2, 2017 Share Posted January 2, 2017 Or don't use character controller at all, depends on how important it is for your game. 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted January 2, 2017 Share Posted January 2, 2017 Just alter the acceleration / deceleration values in the entity control input function. 2 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
DooMAGE Posted January 3, 2017 Author Share 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/ Link to comment Share on other sites More sharing options...
Haydenmango Posted January 4, 2017 Share 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 Link to comment Share on other sites More sharing options...
DooMAGE Posted January 5, 2017 Author Share 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/ Link to comment Share on other sites More sharing options...
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.