Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Realistic Snake Physics with Obi Rope
(10-09-2022, 11:26 AM)josemendez Wrote: Hi there!

The included snake scene is just an example, snake mechanics are implemented as a simple script on top of Obi's API. All this script does is make each particle in the snake body follow the one in front of it, as long as they're in contact with a collider (to simulate "traction").

You can implement your own snake mechanics any way you want, either using the included sample script as a basis or in a completely different way. It's 100% up to you.

Using the included sample, you can try increasing the collision material friction and stickiness, to get particles (and hence the snake) to stick more to surfaces, making it more similar to the second example. Also adjusting the SnakeController script parameters will result in different behavior.

kind regards,

Hey, thank you for the reply!

I'm not really sure how the head and body would be as seamless as the videos I showed above, as well as how climbing physics would work with particles.

Thank you in advance for the help!

Messages In This Thread
RE: Realistic Snake Physics with Obi Rope - by woffles - 12-09-2022, 11:52 PM