Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mp_grid_set_instance

CryoEagle edited this page Feb 13, 2019 · 1 revision

mp_grid_set_instance

Sets instance that will be moved on grid

Syntax:

mp_grid_set_instance(go, empty)
Argument Description
GameObject go Object that will be checked in grid
bool empty Option that sets an object is empty or not

Returns: void

Description:

This function will set and prepare instance to a grid.

Example:

mp_grid_set_instance(this);

Above code will set object to grid where is this code used.

Back to Motion Planning

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /