Sprite Factory

ReadMe
Release Notes
Overview
Using the Editor
Upgrading

Concepts
Sprites
Master Sprites
Sprite Groups
Colliders
Locators
Material Sets
SpriteUpdater
SpriteCamera

Advanced
Working in Multiple Projects

Classes
Runtime Classes

Videos
Overview
Creating Sprites
Sprite Inspector
Frame Events
Collision System
Locator System
Material Sets

Links
Sprite Factory Site
Web Documentation
Support
Contact

SpriteFactory.RigidbodyInfo

Namespace: SpriteFactory

A class used to wrap Rigidbody and Rigidbody2D.

Properties

       
Name   Type   Description
is2D   bool   True = this is a Rigidbody2D. False = this is a Rigidbody.
rigidbodyComponent   Component   The Rigidbody or Rigidbody2D component. Cast this to the proper type by checking is2D.
rigidbody3D   Rigidbody   The 3D Rigidbody. Returns null if this is a Rigidbody2D.

Functions

Name   Description
GetRigidbody   Get the rigidbody cast to a specific type.
WakeUp   Wake up the rigidbody.