InternalPhysics

From KitHack Model Club Wiki
Jump to navigation Jump to search

Back to SDK API Reference

InternalPhysics

InternalPhysics.InPhsBledge

  • Method: Single get_strainSharpness()
  • Method: InPhsBledge Init(InternalPhysicsSystem sys, InPhsBlode bA, InPhsBlode bB, Boolean xlink)
  • Method: Void Adapt()
  • Method: Void Break()
  • Method: Void Terminate()
  • Method: Void Unbreak()
  • Method: Void StrainUpdate()
  • Method: Vector3 GetShearForce(Vector3 edgeDir, Vector3 displacement)
  • Method: Vector3 GetBendTorque(Vector3 edgeDir, Vector3 displacement)
  • Method: Void DrawGizmos(Color c)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Property: Single strainSharpness
  • Field: InPhsBlode bA
  • Field: InPhsBlode bB
  • Field: IPhsEdge[] edges
  • Field: InternalPhysicsSystem sys
  • Field: Single l0
  • Field: Vector3 edgeV0
  • Field: Vector3 Fbend
  • Field: Single compressionStrain
  • Field: Single tensionStrain
  • Field: Single bendStrain
  • Field: Boolean broken

InternalPhysics.InPhsBlode

  • Method: InPhsBlode Init(InternalPhysicsSystem sys)
  • Method: Void Break()
  • Method: Void Unbreak()
  • Method: Void Terminate()
  • Method: Void Adjust()
  • Method: Void DeferredForcesUpdate()
  • Method: Void OnPhysUpdate()
  • Method: ValueTuple`2 GetNodeFrame()
  • Method: Void UpdateBlode()
  • Method: Void Sync()
  • Method: Void DrawGizmos()
  • Method: Void Translate(Vector3 offset)
  • Method: Void AddForce(Vector3 w, ForceMode mode)
  • Method: Void AddRelativeForce(Vector3 v, ForceMode mode)
  • Method: Void AddTorque(Vector3 wTrq, ForceMode mode)
  • Method: Void AddRelativeTorque(Vector3 trq, ForceMode mode)
  • Method: Void Force(Vector3 force)
  • Method: Void Accelerate(Vector3 acc)
  • Method: Void Impulse(Vector3 imp)
  • Method: Void VelocityChange(Vector3 dV)
  • Method: Void VelocitySet(Vector3 vel)
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: Vector3 p
  • Field: Vector3 p0
  • Field: Quaternion q
  • Field: Quaternion q0
  • Field: Single radius
  • Field: Single nodeMass
  • Field: IPhsNode[] nodes
  • Field: IPhsEdge[] innerEdges
  • Field: ValueTuple`2 frm0
  • Field: InternalPhysicsSystem sys
  • Field: Vector3 forces
  • Field: Vector3 accels
  • Field: Vector3 impulses
  • Field: Vector3 velChanges
  • Field: Boolean broken

InternalPhysics.InternalPhysicsData

  • Method: Void SetDirty()
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: Single globalDamping
  • Field: Single deltaTime
  • Field: Int32 edgeSolverIterations
  • Field: Boolean useMultithreadedSolver
  • Field: Boolean deferredForces
  • Field: Single strainSharpness
  • Field: Single CollisionCouplingFactor
  • Field: Single ForceCouplingFactor
  • Field: Single EdgeStrainScaleCompression
  • Field: Single EdgeStrainScaleTension
  • Field: Single EdgeStrainScaleBend
  • Field: Single EdgeL0
  • Field: UpdateMoments updateOn
  • Field: Boolean DrawDebugLines

InternalPhysics.InternalPhysicsSystem

  • Method: UpdateMoments get_updateOn()
  • Method: Void Awake()
  • Method: Void TestInit()
  • Method: Void Init(InternalPhysicsData model)
  • Method: Void SetModel(InternalPhysicsData model)
  • Method: Void FixedUpdate()
  • Method: Void Update()
  • Method: Void LateUpdate()
  • Method: Void OnUpdate()
  • Method: Vector3 GetCoM()
  • Method: Quaternion GetSystemRotation()
  • Method: Void GatherNodes()
  • Method: Void Relax()
  • Method: Void OnDrawGizmos()
  • Method: Void Clear()
  • Method: Void Stop()
  • Method: Void DrawInternalStresses()
  • Method: Void Restore()
  • Method: Void RecenterCoM0(Vector3 com0)
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: UpdateMoments updateOn
  • Property: Boolean init
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: InternalPhysicsData model
  • Field: Boolean drawInnerNodesAndEdges
  • Field: Single testForceScale
  • Field: Single testTorqueScale
  • Field: ForceMode forceMode
  • Field: List`1 blodes
  • Field: List`1 bledges
  • Field: List`1 nodes
  • Field: List`1 edges
  • Field: Vector3 CoM0
  • Field: Quaternion q0

InternalPhysics.IPhsEdge

  • Method: IPhsEdge Init(IPhsNode a, IPhsNode b, InternalPhysicsSystem sys)
  • Method: Void Adapt()
  • Method: Void Constrain()
  • Method: Void DrawGizmos(Color c, Transform container)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Field: IPhsNode nA
  • Field: IPhsNode nB
  • Field: InternalPhysicsSystem sys
  • Field: Single l0
  • Field: Single mA
  • Field: Single mB
  • Field: Single strain

InternalPhysics.IPhsNode

  • Method: IPhsNode Init(InPhsBlode blode, Vector3 r, InternalPhysicsSystem sys)
  • Method: Void Adjust(Vector3 r)
  • Method: Void Restore()
  • Method: Void ChangePos(Vector3 pos)
  • Method: Void Translate(Vector3 offset)
  • Method: Void SetPos(Vector3 pos)
  • Method: Void Move(Vector3 wMove)
  • Method: Void AddForce(Vector3 w, ForceMode mode)
  • Method: Void AddRelativeForce(Vector3 v, ForceMode mode)
  • Method: Void Force(Vector3 force)
  • Method: Void Accelerate(Vector3 acc)
  • Method: Void Impulse(Vector3 imp)
  • Method: Void VelocityChange(Vector3 dV)
  • Method: Void VelocitySet(Vector3 vel)
  • Method: Void OnPhysUpdate()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Field: InPhsBlode blode
  • Field: Vector3 p
  • Field: Vector3 pLast
  • Field: Vector3 vLast
  • Field: Vector3 r
  • Field: Single nodeMass
  • Field: Vector3 trq
  • Field: Int32 nTrq
  • Field: Vector3 frmFwd0
  • Field: Vector3 frmUp0
  • Field: InternalPhysicsSystem sys