Falco Engine 3.9.0.1 (beta)
ConeTwistJoint.cs
Go to the documentation of this file.
1using System.Runtime.CompilerServices;
2
3namespace FalcoEngine
4{
5 public class ConeTwistJoint : Component
6 {
7 internal ConeTwistJoint() { }
8
13 {
14 get
15 {
16 INTERNAL_get_anchor(out Vector3 value);
17 return value;
18 }
19 set
20 {
21 INTERNAL_set_anchor(ref value);
22 }
23 }
24
29 {
30 get
31 {
32 INTERNAL_get_connectedAnchor(out Vector3 value);
33 return value;
34 }
35 set
36 {
37 INTERNAL_set_connectedAnchor(ref value);
38 }
39 }
40
45 {
46 get
47 {
48 INTERNAL_get_limits(out Vector3 value);
49 return value;
50 }
51 set
52 {
53 INTERNAL_set_limits(ref value);
54 }
55 }
56
60 public bool linkedBodiesCollision { [MethodImpl(MethodImplOptions.InternalCall)] get; [MethodImpl(MethodImplOptions.InternalCall)] set; }
61
65 public Rigidbody connectedObject { [MethodImpl(MethodImplOptions.InternalCall)] get; [MethodImpl(MethodImplOptions.InternalCall)] set; }
66
70 [MethodImpl(MethodImplOptions.InternalCall)]
71 public extern void AutoConfigureAnchors();
72
76 [MethodImpl(MethodImplOptions.InternalCall)]
77 public extern void Rebuild();
78
79 /*----------- INTERNAL CALLS ------------*/
80
81 [MethodImpl(MethodImplOptions.InternalCall)]
82 private extern void INTERNAL_get_anchor(out Vector3 value);
83
84 [MethodImpl(MethodImplOptions.InternalCall)]
85 private extern void INTERNAL_set_anchor(ref Vector3 value);
86
87 [MethodImpl(MethodImplOptions.InternalCall)]
88 private extern void INTERNAL_get_connectedAnchor(out Vector3 value);
89
90 [MethodImpl(MethodImplOptions.InternalCall)]
91 private extern void INTERNAL_set_connectedAnchor(ref Vector3 value);
92
93 [MethodImpl(MethodImplOptions.InternalCall)]
94 private extern void INTERNAL_get_limits(out Vector3 value);
95
96 [MethodImpl(MethodImplOptions.InternalCall)]
97 private extern void INTERNAL_set_limits(ref Vector3 value);
98 }
99}
Vector3 anchor
Get or set an anchor point relative to this object
bool linkedBodiesCollision
Get or set the linked bodies collision flag
void AutoConfigureAnchors()
Auto configure connected anchor point depending on an anchor of this object
Vector3 connectedAnchor
Get or set an anchor point relative to connected object
void Rebuild()
Rebuild this joint
Vector3 limits
Get or set the angle limits of this joint
Rigidbody connectedObject
Get or set the object to connect with