hit displacement||doc135546

September 20, 2022

Format

 Entity:doHurtRepel(vector) 
  • The class to which the function belongs:Entity

Description

Puts the entity into a hit state and specifies the vector of displacement.


Precautions

  • The direction of displacement is calculated according to the world scale

Parameters

Variable name type Description
vector Vector3 displacement vector