1#include "RigidBodyComponent.h"
3#include "Foundation/Reflection/TypeDatabase.h"
10 Field(
Name(
"mass"), &RigidBodyComponent::mass),
11 Field(
Name(
"friction"), &RigidBodyComponent::friction),
12 Field(
Name(
"rollingFriction"), &RigidBodyComponent::rollingFriction),
13 Field(
Name(
"spinningFriction"), &RigidBodyComponent::spinningFriction),
14 Field(
Name(
"linearDamping"), &RigidBodyComponent::linearDamping),
15 Field(
Name(
"angularDamping"), &RigidBodyComponent::angularDamping),
16 Field(
Name(
"restitution"), &RigidBodyComponent::restitution),
17 Field(
Name(
"kinematic"), &RigidBodyComponent::kinematic),
18 Field(
Name(
"ccdMotionThreshold"), &RigidBodyComponent::ccdMotionThreshold),
19 Field(
Name(
"ccdSweptSphereRadius"), &RigidBodyComponent::ccdSweptSphereRadius),
22 TypeDatabase::createType<RigidBodyComponent>().setBase<Component>().setFields(fields);
static void registerType()
Register the type in the type system.
Field definition describing a single data member of a data structure.
Contains reflection support.
Represents an unique name.