move_contact_solid

From ENIGMA

Jump to: navigation, search

Notation

move_contact_solid(double angle, double dist)

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);
Personal tools