TrueSync
|
TSBoxCollider2D.cs
37 ((Physics2D.PolygonShape)_body.FixtureList[0].Shape).Vertices = TrueSync.Physics2D.PolygonTools.CreateRectangle(sizeScaled.x * FP.Half, sizeScaled.y * FP.Half);
68 return new TrueSync.Physics2D.PolygonShape(TrueSync.Physics2D.PolygonTools.CreateRectangle(sizeScaled.x * FP.Half, sizeScaled.y * FP.Half), 1);
bool isTrigger
If it is only a trigger and doesn't interfere on collisions.
Definition: TSCollider2D.cs:35
override void DrawGizmos()
Draws the specific gizmos of concrete collider (for example "Gizmos.DrawWireCube" for a TSBoxCollider...
Definition: TSBoxCollider2D.cs:71
void Reset()
Sets initial values to size based on a pre-existing BoxCollider or BoxCollider2D. ...
Definition: TSBoxCollider2D.cs:46
override TrueSync.Physics2D.Shape CreateShape()
Create the internal shape used to represent a TSBoxCollider.
Definition: TSBoxCollider2D.cs:65
TSVector lossyScale
Holds an first value of the GameObject's lossy scale.
Definition: TSCollider2D.cs:131
Definition: LayerCollisionMatrix.cs:3
Generated by
