29-03-2018, 11:32 PM
Hello ! it's me again, sorry to bother you
I'm staying in this topic, because this is linked to my previous question.
Here a video of my current setup:
https://www.youtube.com/watch?v=bcb6bsxZ...e=youtu.be
I have 2 player, with rigidbody. In the video, for testing, the red player is kinematic, and I can move the blue player.
As you see, I get the particle position to get the vector direction, and then with a cross product, I can know in which direction to go when pressing left / right. Great
But now, a problem: from know, the rope where fine, but in this particulare move: the rope is too stretchy.
here is my question: My Rope is perfect right now, but whenever in my game I am in a certain mode (like in the video), I want to setup my rope as "non stretchy at all". I want to be able to rotate around my player, but keep always the same distance.
(MayBe setup a ConfigurableJoint with the right setup ?)
I ask a question in GameDeveloppment where I ask how to setup a ConfigurableJoint like that:
https://gamedev.stackexchange.com/questi...otating-it
Well, hopeĀ I don't bother you with all my question. Thanks you !
Here my rope setup:
I'm staying in this topic, because this is linked to my previous question.
Here a video of my current setup:
https://www.youtube.com/watch?v=bcb6bsxZ...e=youtu.be
I have 2 player, with rigidbody. In the video, for testing, the red player is kinematic, and I can move the blue player.
As you see, I get the particle position to get the vector direction, and then with a cross product, I can know in which direction to go when pressing left / right. Great
But now, a problem: from know, the rope where fine, but in this particulare move: the rope is too stretchy.
here is my question: My Rope is perfect right now, but whenever in my game I am in a certain mode (like in the video), I want to setup my rope as "non stretchy at all". I want to be able to rotate around my player, but keep always the same distance.
(MayBe setup a ConfigurableJoint with the right setup ?)
I ask a question in GameDeveloppment where I ask how to setup a ConfigurableJoint like that:
https://gamedev.stackexchange.com/questi...otating-it
Well, hopeĀ I don't bother you with all my question. Thanks you !
Here my rope setup: