Click or drag to resize

PhysActor Class

The base component for the physical actors.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          RavingBots.MagicGestures.Game.MagicPhysActor
            RavingBots.MagicGestures.Game.MagicBullet

Namespace:  RavingBots.MagicGestures.Game.Magic
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class PhysActor : MonoBehaviour

The PhysActor type exposes the following members.

Constructors
  NameDescription
Public methodPhysActor
Initializes a new instance of the PhysActor class
Top
Methods
  NameDescription
Protected methodOnCollisionEnter
Called when this actor collides with something.
Top
Fields
  NameDescription
Public fieldCollisionSound
The sound played on a collision.
Protected fieldCollisionSoundMinVelocity
The minimum collision velocity before the sound is played.
Protected fieldCollisionVelocityToVolume
The scaling factor, used to convert the collision velocity to the collision sound volume.
Top
See Also