BabylonPhysicsState.cs 389 B

1234567891011121314
  1. using System;
  2. using UnityEngine;
  3. namespace UnityEditor
  4. {
  5. [AddComponentMenu("BabylonJS/Physics State", 1)]
  6. public sealed class BabylonPhysicsState : MonoBehaviour
  7. {
  8. public float mass = 0.0f;
  9. public float friction = 0.1f;
  10. public float restitution = 0.25f;
  11. public BabylonPhysicsImposter imposter = BabylonPhysicsImposter.None;
  12. }
  13. }