Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Collision Problem
#2
(26-09-2020, 02:44 AM)joshuajames1 Wrote: So the rope is rotating counter-clockwise, the colored blocks determine your score(isTrigger = on). the problem is when the rope is on the yellow block and the player jump, it always detects the green one. I think it's because of the speculative contact.

Not sure I understand the problem, the way you intend scoring to work, or what the game is about, sorry Triste. If you're worried speculative contacts are the issue, you can filter out speculative contacts by checking contact distance: if it's zero or negative, it is an actual contact. This is done in the manual examples, using a small positive threshold to determine if a contact is speculative or not.
Reply


Messages In This Thread
Collision Problem - by joshuajames1 - 26-09-2020, 02:44 AM
RE: Collision Problem - by josemendez - 28-09-2020, 10:52 AM