RigidBodyCollider3.h
Go to the documentation of this file.
Vector3D VelocityAt(const Vector3D &point) const override
Returns the velocity of the collider at given point.
Builder & WithAngularVelocity(const Vector3D &angularVelocity)
Returns builder with angular velocity.
static Builder GetBuilder()
Returns builder fox RigidBodyCollider3.
Definition: pybind11Utils.h:24
std::shared_ptr< Surface3 > Surface3Ptr
Shared pointer for the Surface3 type.
Definition: Surface3.h:100
RigidBodyCollider3(const Surface3Ptr &surface)
Constructs a collider with a surface.
Vector3D linearVelocity
Linear velocity of the rigid body.
Definition: RigidBodyCollider3.h:25
Builder & WithSurface(const Surface3Ptr &surface)
Returns builder with surface.
RigidBodyCollider3Ptr MakeShared() const
Builds shared pointer of RigidBodyCollider3 instance.
Builder & WithLinearVelocity(const Vector3D &linearVelocity)
Returns builder with linear velocity.
std::shared_ptr< RigidBodyCollider3 > RigidBodyCollider3Ptr
Shared pointer for the RigidBodyCollider3 type.
Definition: RigidBodyCollider3.h:48
Front-end to create RigidBodyCollider3 objects step by step.
Definition: RigidBodyCollider3.h:53
RigidBodyCollider3 Build() const
Builds RigidBodyCollider3.
Vector3D angularVelocity
Angular velocity of the rigid body.
Definition: RigidBodyCollider3.h:31