PoolGen  1.0
Public Member Functions | List of all members
ResetRigidbody Class Reference

Resets the attached rigidbody's velocity and angular velocity when spawned More...

Inherits MonoBehaviour, and IPoolInstantiate.

Public Member Functions

void PoolInstantiate (PoolUser user)
 Hooks to the PoolUser's PoolUser.OnSpawn event More...
 
void ResetVelocities ()
 Resets the Rigidbody's velocity and angularVelocity More...
 

Detailed Description

Resets the attached rigidbody's velocity and angular velocity when spawned

Member Function Documentation

void PoolInstantiate ( PoolUser  user)

Hooks to the PoolUser's PoolUser.OnSpawn event

Implements IPoolInstantiate.

void ResetVelocities ( )

Resets the Rigidbody's velocity and angularVelocity