Probleme mit Rigidbody

A new update is now available, introducing fishing, climbing gear, clothes and more!
Latest hotfix: 0.8.5.2 (2025-05-01)
  • Hallo,


    ich lade ein Prefab aus einem Unity Asset und füge ein Rigidbody hinzu.

    nun versuche ich die constrains zu verändern, was mir aber nicht gelingt.


    Prefab cube = Prefab( cubeasset );


    cube.addComponent ("Rigidbody");

    cube.setComponentProperty (null,"Rigidbody","constrains", 126); // 126 alles festhalten


    andere Werte (z.Bsp. angularDamping) der Komponente konnte ich verändern.


    Hat jemand vielleicht ein paar code Schnipsel ?

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!