ToyMaker Game Engine 0.0.2
ToyMaker is a game engine developed and maintained by Zoheb Shujauddin.
Loading...
Searching...
No Matches
ToyMaker::Constraint1DOFParam Struct Reference

Parameters defining a body participating in a 2-body constraint. More...

#include <types.hpp>

Public Member Functions

bool isSensible (bool isRotation=false) const

Public Attributes

glm::quat mRotateToLocal { 1.f, 0.f, 0.f, 0.f }
 The rotation taking the parameter from constraint space to object-local space.
glm::vec3 mVector { 0.f, 0.f, 1.f }
 The constrained vector representing a position for a distance constraints, and a direction for a rotation constraint.

Detailed Description

Parameters defining a body participating in a 2-body constraint.


The documentation for this struct was generated from the following file:
  • ToyMaker_Main/include/toymaker/engine/physics/types.hpp