question

mark zhen avatar image
0 Likes"
mark zhen asked Kavika F commented

Collision problem

我想了解Collision token的用途以及我想知道如果我想要在碰撞發生時去讀取發生時的位置我該怎麼做0421-1-jl3.fsm

?

FlexSim 20.0.10
agvcollision
0421-1-jl3.fsm (65.1 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Kavika F avatar image Kavika F ♦ commented ·

Hi @mark zhen , was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

We answered the location question in your previous question. Namely that object.location returns the Vec3 containing the coordinates.

The purpose of the collisionToken label is to detect the times that the colliding object calls twice in the same collision since incollision is not enough to detect whether it's a fresh collision or not. This was also explained in the previous post.

Please post new questions and one topic per question rather than the two you have here. Thank you.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.