Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi Collision Detection
#1
Hello Obi Team,

I am working on a mobile game project using Obi Rope 5.6. My goal in the game is:

  • There is a frame with joints attached on it.
  • There is a rope source in the left bottom of the frame.
  • I will be whipping the rope around these joints.
  • It's actually very similar to the WrapTheRope sample in the project. But input control in this project is by dragging not by holding W, A, S, D buttons on the keyboard. And another difference is I am working on a 3D environment.

[Image: Screen-Shot-2020-12-21-at-4-20-38-PM.png]

I am changing the length of the rope by checking the distance between the source joint and the rope tip. To be able to calculate the length correctly, I need the information of last collided joint. Because if I drag the rope to the joint on the very top first, then drag it to joints in the bottom, its length should be:


Quote: (distance from source to joint on the top + distance from joint on the top to the joint on the bottom)



For this approach, I need to know when the rope enters/exits colliding with the joints. I also need to roll the rope back to the last collided joint when player stops dragging. But it seems there is no method for collision exit. Is there any other way to understand that the rope started/ended colliding with the specific objects in order? If not, what would be the best solution for my problem?

Thank you in advance. I love and appreciate your work!

Regards
Reply


Messages In This Thread
Obi Collision Detection - by meryemekinci - 21-12-2020, 02:27 PM
RE: Obi Collision Detection - by josemendez - 21-12-2020, 02:53 PM
RE: Obi Collision Detection - by meryemekinci - 21-12-2020, 03:10 PM
RE: Obi Collision Detection - by josemendez - 21-12-2020, 03:14 PM
RE: Obi Collision Detection - by meryemekinci - 21-12-2020, 03:18 PM
RE: Obi Collision Detection - by meryemekinci - 23-12-2020, 12:20 PM
RE: Obi Collision Detection - by josemendez - 23-12-2020, 12:37 PM
RE: Obi Collision Detection - by meryemekinci - 23-12-2020, 01:39 PM
RE: Obi Collision Detection - by meryemekinci - 24-12-2020, 01:42 PM
RE: Obi Collision Detection - by josemendez - 24-12-2020, 01:44 PM
RE: Obi Collision Detection - by meryemekinci - 25-12-2020, 11:33 AM
RE: Obi Collision Detection - by josemendez - 26-12-2020, 09:19 PM
RE: Obi Collision Detection - by meryemekinci - 06-01-2021, 06:01 PM
RE: Obi Collision Detection - by meryemekinci - 21-01-2021, 04:17 PM
RE: Obi Collision Detection - by josemendez - 22-01-2021, 09:27 AM
RE: Obi Collision Detection - by meryemekinci - 08-01-2021, 08:46 AM
RE: Obi Collision Detection - by josemendez - 08-01-2021, 10:47 AM
RE: Obi Collision Detection - by meryemekinci - 08-01-2021, 12:17 PM
RE: Obi Collision Detection - by josemendez - 08-01-2021, 12:26 PM
RE: Obi Collision Detection - by meryemekinci - 20-01-2021, 09:44 AM
RE: Obi Collision Detection - by meryemekinci - 23-01-2021, 10:39 AM