Hi! Im struggling to make a rolling ball custom character. I got the rig working, now its only the rolling of the ball left.
I want the ball to rotate in the direction it is moving WITHOUT using autorotate. I have partly achieved this with a BallSocketConstraint without any limits. But if the ball completely stops moving it cant start rolling again… Unless i jump.
I have tried acheiving the same effect using a Motor6D but struggeled alot with that, so I decided to test some sort of constraint and the BallSocketConstraint gave the best result.
If you have encountered similar problems tell me! Have I done something wrong? Help is appreciated.
Also, if I can get better results using some other constraint/tool tell me:)
Custom character:
Also this is my first dev forum post so please have mercy on me:)
When I tried setting the ball to massless it just fell through the ground. No I didnt turn of canCollide. But the wierd thing is that when the ball spawned in it was stuck in place. but then I jumped, half a second passed and then the ball went through the ground.
I also tried making the ball float but it didnt work. If the ball doesnt touch the ground it doesnt roll it just floats. And the same thing happend here. When I set the hipHeight of the humanoid to a really big number. First when I spawned I was stuck in place on the ground. Then when I jumped I flew in to the air ant floated.-.
Is the ball a solid sphere or is it a hollow sphere? If it’s hollow and very thin then it may have issues with falling through the Parts/Terrain it sits on.
What are you using to move the ball? Is the player spawned inside the ball? When attaching anything to a player it generally works better if the Parts of the item are Massless to keep the ‘weight’ of those Parts from interfering with the players movement physics.
I believie it is hollow. I used a normal part and then just changed a property, cant remeber what the name was, to sphere instead of square. I made a custom character so the player character doesnt spawn at all.
It looks like this.
And i dont think the problem is that the ball is colliding with the ground I think it has to do something with the constraint…
If the Part is a Ball instead of a Block then it isn’t hollow.
If the Ball has a mass and it’s attached to the Humanoid with the Ball & Socket it’s going to cause movement issues.
Again, what are you using to move the Humanoid and Ball?
I guess I’m using the default method, I made a custom character by just making a humanoid root part. So I guess the way I move is by applying force to the humanoid root part, and the ball is attached to the humanoid with a ballsocketconstraint