Rotating raycasts and 2 players moving an object

I am making a game based on get on top and i am trying raycasts for it. Is there a way to rotate raycasts? Also i need a way to make 2 players move the same object like one wasd and one arrows but you cant put 2 controls on the same object because if you are holding right arrow and other is using a then it will go to the first one clicked and that is just boring.

You can change the angle of a raycast.

1 Like

Is there a way to like extract the angle of the character to make the raycast angle change?

k found that out but now all i need is a way to make 2 players move it or how to make a ragdoll that does not come apart which would be better.

The extract behaviour

1 Like