Ejemplo n.º 1
0
    public static PhysicalSupportTools AngularVelocityCorrectionTo(GameObject o, Rigidbody rb, float r)
    {
        AngularVelocityCorrection avc = new AngularVelocityCorrection();

        avc.Init(Table("Rigidbody", rb, "Radius", r));
        return(AddSupportTools(o, PhysicalSupportType.AngularVelocityCorrection, avc));
    }
Ejemplo n.º 2
0
    public static PhysicalSupportTools AngularVelocityCorrectionTo(GameObject o, Hashtable table)
    {
        AngularVelocityCorrection avc = new AngularVelocityCorrection();

        avc.Init(table);
        return(AddSupportTools(o, PhysicalSupportType.AngularVelocityCorrection, avc));
    }
 public static PhysicalSupportTools AngularVelocityCorrectionTo(GameObject o, Rigidbody rb, float r)
 {
     AngularVelocityCorrection avc = new AngularVelocityCorrection();
     avc.Init(Table("Rigidbody", rb, "Radius", r));
     return AddSupportTools(o, PhysicalSupportType.AngularVelocityCorrection, avc);
 }
 public static PhysicalSupportTools AngularVelocityCorrectionTo(GameObject o, Hashtable table)
 {
     AngularVelocityCorrection avc = new AngularVelocityCorrection();
     avc.Init(table);
     return AddSupportTools(o, PhysicalSupportType.AngularVelocityCorrection, avc);
 }