|
| | DEFINE_CHAOSSIMTYPENAME (FTorqueSimModule) |
| |
| | FTorqueSimModule () |
| |
| virtual bool | IsBehaviourType (eSimModuleTypeFlags InType) const |
| |
| void | SetDriveTorque (float TorqueIn) |
| |
| float | GetDriveTorque () const |
| |
| void | SetLoadTorque (float TorqueIn) |
| |
| float | GetLoadTorque () const |
| |
| void | SetBrakingTorque (float TorqueIn) |
| |
| float | GetBrakingTorque () const |
| |
| void | SetAngularVelocity (float AngularVelocityIn) |
| |
| float | GetAngularVelocity () const |
| |
| void | AddAngularVelocity (float AngularVelocityIn) |
| |
| void | SetAngularPosition (float AngularPositionIn) |
| |
| float | GetAngularPosition () const |
| |
| void | SetRPM (float InRPM) |
| |
| float | GetRPM () const |
| |
| UE_API void | TransmitTorque (const FSimModuleTree &BlockSystem, float PushedTorque, float BrakeTorque=0.f, float GearingRatio=1.0f, float ClutchSlip=1.0f) |
| |
| UE_API void | IntegrateAngularVelocity (float DeltaTime, float Inertia, float MaxRotationVel=MAX_FLT) |
| |
| | DEFINE_CHAOSSIMTYPENAME (ISimulationModuleBase) |
| |
| | ISimulationModuleBase () |
| |
| virtual | ~ISimulationModuleBase () |
| |
| int | GetGuid () const |
| |
| void | SetGuid (int GuidIn) |
| |
| virtual const FString | GetDebugName () const =0 |
| |
| virtual bool | IsEnabled () const |
| |
| void | SetStateFlags (eSimModuleState StateFlagsIn) |
| |
| virtual void | OnConstruction_External (const Chaos::FPhysicsObjectHandle &PhysicsObject) |
| |
| virtual void | OnTermination_External () |
| |
| virtual void | Simulate (IPhysicsProxyBase *Proxy, Chaos::FPBDRigidParticleHandle *ParticleHandle, float DeltaTime, const FAllInputs &Inputs, FSimModuleTree &VehicleModuleSystem) |
| |
| virtual void | OnContactModification (Chaos::FCollisionContactModifier &Modifier, IPhysicsProxyBase *Proxy) |
| |
| virtual void | Simulate (float DeltaTime, const FAllInputs &Inputs, FSimModuleTree &VehicleModuleSystem) |
| |
| virtual void | Animate () |
| |
| void | SetAnimationEnabled (bool bInEnabled) |
| |
| bool | IsAnimationEnabled () |
| |
| UE_API void | SetAnimationData (const FName &BoneNameIn, const FVector &AnimationOffsetIn, int AnimationSetupIndexIn) |
| |
| const FSimModuleAnimationData & | GetAnimationData () const |
| |
| const FVector & | GetAnimationOffset () const |
| |
| const FName & | GetBoneName () const |
| |
| int | GetAnimationSetupIndex () |
| |
| virtual void | DrawDebugInfo () |
| |
| virtual UE_API bool | GetDebugString (FString &StringOut) const |
| |
| void | SetTransformIndex (int TransformIndexIn) |
| |
| const int | GetTransformIndex () const |
| |
| void | SetParticleIndex (FUniqueIdx ParticleIndexIn) |
| |
| const FUniqueIdx | GetParticleIndex () const |
| |
| void | SetTreeIndex (int TreeIndexIn) |
| |
| int | GetTreeIndex () const |
| |
| void | SetSimModuleTree (FSimModuleTree *SimModuleTreeIn) |
| |
| UE_API void | AddLocalForceAtPosition (const FVector &Force, const FVector &Position, bool bAllowSubstepping=true, bool bIsLocalForce=false, bool bLevelSlope=false, const FColor &DebugColorIn=FColor::Blue) |
| |
| UE_API void | AddForceAtCOMPosition (const FVector &Force, const FVector &OffsetFromCOM=FVector::ZeroVector, bool bAllowSubstepping=true, bool bLevelSlope=false, const FColor &DebugColorIn=FColor::Blue) |
| |
| UE_API void | AddLocalForce (const FVector &Force, bool bAllowSubstepping=true, bool bIsLocalForce=false, bool bLevelSlope=false, const FColor &DebugColorIn=FColor::Blue) |
| |
| UE_API void | AddLocalTorque (const FVector &Torque, bool bAllowSubstepping=true, bool bAccelChangeIn=true, const FColor &DebugColorIn=FColor::Magenta) |
| |
| void | SetClustered (bool IsClusteredIn) |
| |
| bool | IsClustered () const |
| |
| void | SetClusteredTransform (const FTransform &TransformIn) |
| |
| const FTransform & | GetClusteredTransform () const |
| |
| void | SetInitialParticleTransform (const FTransform &TransformIn) |
| |
| const FTransform & | GetInitialParticleTransform () const |
| |
| void | SetComponentTransform (const FTransform &TransformIn) |
| |
| const FTransform & | GetComponentTransform () const |
| |
| void | SetIntactTransform (const FTransform &TransformIn) |
| |
| const FTransform & | GetIntactTransform () const |
| |
| UE_API const FTransform & | GetParentRelativeTransform () const |
| |
| void | SetLocalLinearVelocity (const FVector &VelocityIn) |
| |
| const FVector & | GetLocalLinearVelocity () const |
| |
| void | SetLocalAngularVelocity (const FVector &VelocityIn) |
| |
| const FVector & | GetLocalAngularVelocity () const |
| |
| UE_API ISimulationModuleBase * | GetParent () |
| |
| UE_API ISimulationModuleBase * | GetFirstChild () |
| |
| UE_API FVehicleBlackboard * | GetSimBlackboard () |
| |
| const FVector & | GetAppliedForce () |
| |
| virtual TSharedPtr< FModuleNetData > | GenerateNetData (const int32 NodeArrayIndex) const =0 |
| |
| virtual FSimOutputData * | GenerateOutputData () const |
| |
| UE_API Chaos::FPBDRigidClusteredParticleHandle * | GetClusterParticle (Chaos::FClusterUnionPhysicsProxy *Proxy) |
| |
| UE_API Chaos::FPBDRigidParticleHandle * | GetParticleFromUniqueIndex (int32 ParticleUniqueIdx, TArray< Chaos::FPBDRigidParticleHandle * > &Particles) |
| |
| void | AddType (FName InType) |
| |
| bool | IsSimType (FName InType) const |
| |
| FName | GetSimType () const |
| |
| template<typename U > |
| bool | IsSimType () const |
| |
| template<typename U > |
| U * | Cast () |
| |
| template<typename U > |
| const U * | Cast () const |
| |
| | TSimulationModuleTypeableBase () |
| |