public DronePhysicsBase(DronePhysicsSettings physicsSettings, Transform transform, Rigidbody2D rigidbody) { m_PhysicsSettings = physicsSettings; m_Transform = transform; m_Rigidbody = rigidbody; SetRigidBodyParams(); m_StartPosition = transform.position; m_StartRotation = transform.rotation; AddDisposable(EventBus.Subscribe(this)); }
public SimpleDronePhysics(DronePhysicsSettings physicsSettings, Transform transform, Rigidbody2D rigidbody) : base(physicsSettings, transform, rigidbody) { }
public SimpleDronePhysicsWithEngineModifiers(DronePhysicsSettings physicsSettings, Transform transform, Rigidbody2D rigidbody) : base(physicsSettings, transform, rigidbody) { }