Skip to content

Commit

Permalink
Added instance_position to contact_point_event
Browse files Browse the repository at this point in the history
  • Loading branch information
JCash committed Sep 30, 2024
1 parent 3dabd84 commit 47a4884
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/en/manuals/physics-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ This event reports a contact point between two collision objects. It is useful f
- `applied_impulse`: The impulse resulting from the contact.
- `distance`: The penetration distance between the objects.
- `a` and `b`: Objects representing the colliding entities, each containing:
- `position`: World position (vector3).
- `position`: World position of contact point (vector3).
- `instance_position`: World position game object instance (vector3).
- `id`: Instance ID (hash).
- `group`: Collision group (hash).
- `relative_velocity`: Velocity relative to the other object (vector3).
Expand Down

0 comments on commit 47a4884

Please sign in to comment.