Method GenerateImpulse
GenerateImpulse(Vector3)
Broadcast the Impulse Signal onto the appropriate channels, using a custom impact velocity, and this transfom's position.
선언
public void GenerateImpulse(Vector3 velocity)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Vector3 | velocity | The impact magnitude and direction |
GenerateImpulse()
Broadcast the Impulse Signal onto the appropriate channels, with default velocity = (0, -1, 0), and a default position which is this transform's location.
선언
public void GenerateImpulse()