Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
Point2PointConstraint.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Core.Mathematics;
4 
5 namespace SiliconStudio.Paradox.Physics
6 {
8  {
9  /// <summary>
10  /// Gets or sets the pivot in a.
11  /// </summary>
12  /// <value>
13  /// The pivot in a.
14  /// </value>
15  public Vector3 PivotInA
16  {
17  get { return InternalPoint2PointConstraint.PivotInA; }
18  set { InternalPoint2PointConstraint.SetPivotA(value); }
19  }
20 
21  /// <summary>
22  /// Gets or sets the pivot in b.
23  /// </summary>
24  /// <value>
25  /// The pivot in b.
26  /// </value>
27  public Vector3 PivotInB
28  {
29  get { return InternalPoint2PointConstraint.PivotInB; }
30  set { InternalPoint2PointConstraint.SetPivotB(value); }
31  }
32 
33  /// <summary>
34  /// Gets or sets the damping.
35  /// </summary>
36  /// <value>
37  /// The damping.
38  /// </value>
39  public float Damping
40  {
41  get { return InternalPoint2PointConstraint.Setting.Damping; }
42  set { InternalPoint2PointConstraint.Setting.Damping = value; }
43  }
44 
45  /// <summary>
46  /// Gets or sets the impulse clamp.
47  /// </summary>
48  /// <value>
49  /// The impulse clamp.
50  /// </value>
51  public float ImpulseClamp
52  {
53  get { return InternalPoint2PointConstraint.Setting.ImpulseClamp; }
54  set { InternalPoint2PointConstraint.Setting.ImpulseClamp = value; }
55  }
56 
57  /// <summary>
58  /// Gets or sets the tau.
59  /// </summary>
60  /// <value>
61  /// The tau.
62  /// </value>
63  public float Tau
64  {
65  get { return InternalPoint2PointConstraint.Setting.Tau; }
66  set { InternalPoint2PointConstraint.Setting.Tau = value; }
67  }
68 
69  internal BulletSharp.Point2PointConstraint InternalPoint2PointConstraint;
70  }
71 }
Represents a three dimensional mathematical vector.
Definition: Vector3.cs:42
using SiliconStudio.Paradox. Physics