Move_contact_solid - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC

Notation

Description

Calls move_contact_object with only solid objects specified to move contact against.

Parameters

  • angle the direction to move contact in
  • dist the maximum distance to move. when set to -1 does not set a maximum distance

Return Values

returns the distance the instance has moved

Example Call

//moves the instance down until colliding with a solid instance
move_contact_object(270, -1);