Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi Collision Detection
#7
(23-12-2020, 12:20 PM)meryemekinci Wrote: Using enter/exit callbacks solved my problem with detection collisions. Thank you so much, Jose.

I am not sure if I should open a new thread for another problem, but I will ask it from here first. Then I can remove it if needed.

As I said before, I move the rope by dragging a game object (let's call it rope tip) that my rope's control point has its position as target. Whenever there is a dragging input, I change the rope tip's position. The problem is when I stop dragging the object, the rope pulls the tip back for a while. First I thought it was because there might be some distance between particles and they were trying to cover the distance by getting close to eachother. But when I check their alignment with Particle Renderer, they are already up close to eachother. Probably I am missing some constraint or defining some wrong. I need the rope to not pull back the rope tip back.

Thank you in advance.

Regards

Is the tip a rigidbody? if so, the rope will exert forces on it. How much force, depends on the mass ratio between the rope and the "tip". Depending on the constraints used by your rope (bend, distance) the direction of this force will change. You can play with the mass of both the tip and the rope to control how they move relative to each other.

It could also be that the tip is colliding with the rope particles, as described in the last bit of this page:
http://obi.virtualmethodstudio.com/tutor...aints.html

The exact cause is difficult to tell without looking at your setup in more detail, though.
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