#Rigidbody movement
1 messages · Page 1 of 1 (latest)
@restive niche I'm expecting movement similar to any other third person game. I can't find anything that doesn't get stuck to walls or go straight through them
What do you mean by get stuck?
CharacterController.Move() worked perfectly, but I found a character controller too restrictive when it came to collisions
I think to stop players getting stuck, you'll need to code the system
As if they became glued any time you pressed the move button in the direction of a wall
if the player touched the wall, you disable input?
not that sure about this idea though
Seems unnecessary
CharacterController.MovePosition(), RigidBody.AddForce, transform.position paired with a RigidBody, and Rigidbody.Velocity. I don't have the code for any of those anymore except transform.position, which I'm attempting to use now, but it has the same issue of going through walls
Check https://docs.unity3d.com/ScriptReference/Rigidbody.AddForce.html, and maybe follow a tutorial on youtube, because you are most likely doing it wrong.
I feel like that isn't what most people do. I'm trying to find anything that works, so it'd be weird for something like that to be needed
AddForce is the one that has glue-walls, and I tried looking for tutorials but they're all for CharacterControllers
Impossible
I need to go for like 20 minutes, sorry. I'll be back
Its one search of google or youtube
Unity is the ultimate game development platform. Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers.
I'm back