Class SCNPhysicsVehicle

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class SCNPhysicsVehicle
extends SCNPhysicsBehavior
  • Constructor Details

    • SCNPhysicsVehicle

      public SCNPhysicsVehicle()
    • SCNPhysicsVehicle

      protected SCNPhysicsVehicle​(NSObject.Handle h, long handle)
    • SCNPhysicsVehicle

      protected SCNPhysicsVehicle​(NSObject.SkipInit skipInit)
  • Method Details

    • getSpeedInKilometersPerHour

      public double getSpeedInKilometersPerHour()
    • getWheels

      public NSArray<SCNPhysicsVehicleWheel> getWheels()
    • getChassisBody

      public SCNPhysicsBody getChassisBody()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • applyEngineForceForWheel

      public void applyEngineForceForWheel​(double value, long index)
    • setSteeringAngleForWheel

      public void setSteeringAngleForWheel​(double value, long index)
    • applyBrakingForceForWheel

      public void applyBrakingForceForWheel​(double value, long index)
    • create

      public static SCNPhysicsVehicle create​(SCNPhysicsBody chassisBody, NSArray<SCNPhysicsVehicleWheel> wheels)