- Home /
Buggy rigidbody collisions [URGENT] (C#)
My rigidbody's collisions are acting up, and I can't figure out why. More info, code, pics, and even a video are here:
https://drive.google.com/drive/folders/1BQp_4qqa0_P96joKgimMuwB9Pij_j_yd?usp=sharing
Oh, and btw your video, doesnt have buggy collions, maybe try to include it with the video?
Yes it does. You can see me change directions and it doesn't work, and also when I go to the goal, the block doesn't continue because it is stuck.
Answer by Lost_Syndicate · May 24, 2018 at 02:04 AM
You can store your objects x,y,z axis in a float, and you can call it as a function, and stop that function, once it hits an object, using OnCollisionEnter()
and move the objects x,y,z axis -1, or +1, according to its location and rotation.
Note: I can give you an example, but it may not work as well as i plan, because im not that good at c#
I don't really understand what you mean, so can you please try your best?