RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
RoR::hook_t Struct Reference

#include <SimData.h>

+ Collaboration diagram for RoR::hook_t:

Public Member Functions

 hook_t ()
 
 ~hook_t ()
 

Data Fields

HookState hk_locked = HookState::UNLOCKED
 
int hk_group = 0
 
int hk_lockgroup = 0
 
bool hk_selflock = false
 
bool hk_autolock = false
 
bool hk_nodisable = false
 
float hk_maxforce = 0.f
 
float hk_lockrange = 0.f
 
float hk_lockspeed = 0.f
 
float hk_timer = 0.f
 
float hk_timer_preset = 0.f
 
float hk_min_length = 0.f
 Absolute value in meters. More...
 
node_thk_hook_node = nullptr
 
node_thk_lock_node = nullptr
 
beam_thk_beam = nullptr
 
ActorPtr hk_locked_actor
 

Detailed Description

Definition at line 474 of file SimData.h.

Constructor & Destructor Documentation

◆ hook_t()

hook_t::hook_t ( )

Definition at line 77 of file SimData.cpp.

◆ ~hook_t()

hook_t::~hook_t ( )

Definition at line 82 of file SimData.cpp.

Field Documentation

◆ hk_autolock

bool RoR::hook_t::hk_autolock = false

Definition at line 483 of file SimData.h.

◆ hk_beam

beam_t* RoR::hook_t::hk_beam = nullptr

Definition at line 493 of file SimData.h.

◆ hk_group

int RoR::hook_t::hk_group = 0

Definition at line 480 of file SimData.h.

◆ hk_hook_node

node_t* RoR::hook_t::hk_hook_node = nullptr

Definition at line 491 of file SimData.h.

◆ hk_lock_node

node_t* RoR::hook_t::hk_lock_node = nullptr

Definition at line 492 of file SimData.h.

◆ hk_locked

HookState RoR::hook_t::hk_locked = HookState::UNLOCKED

Definition at line 479 of file SimData.h.

◆ hk_locked_actor

ActorPtr RoR::hook_t::hk_locked_actor

Definition at line 494 of file SimData.h.

◆ hk_lockgroup

int RoR::hook_t::hk_lockgroup = 0

Definition at line 481 of file SimData.h.

◆ hk_lockrange

float RoR::hook_t::hk_lockrange = 0.f

Definition at line 486 of file SimData.h.

◆ hk_lockspeed

float RoR::hook_t::hk_lockspeed = 0.f

Definition at line 487 of file SimData.h.

◆ hk_maxforce

float RoR::hook_t::hk_maxforce = 0.f

Definition at line 485 of file SimData.h.

◆ hk_min_length

float RoR::hook_t::hk_min_length = 0.f

Absolute value in meters.

Definition at line 490 of file SimData.h.

◆ hk_nodisable

bool RoR::hook_t::hk_nodisable = false

Definition at line 484 of file SimData.h.

◆ hk_selflock

bool RoR::hook_t::hk_selflock = false

Definition at line 482 of file SimData.h.

◆ hk_timer

float RoR::hook_t::hk_timer = 0.f

Definition at line 488 of file SimData.h.

◆ hk_timer_preset

float RoR::hook_t::hk_timer_preset = 0.f

Definition at line 489 of file SimData.h.


The documentation for this struct was generated from the following files: