Skip to content
Snippets Groups Projects
Commit 9478c7d4 authored by Patrick Nossol's avatar Patrick Nossol
Browse files

Merge branch 'OnlyTrackers' into FixOffsetsElegant

parents 2e06b700 f46597bc
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ LowerArm = 26.0
//D - Distance from floor to hip
HipHeight = 102.0
//E - Height from Hipbones to top of shoulders
//E - Height from hipbones to top of shoulders
NeckToHip = 50.5
//F - Height from top of shoulders to slidely under the mouth
......
......@@ -82,8 +82,7 @@ AMCPawn::AMCPawn(const FObjectInitializer& ObjectInitializer)
void AMCPawn::BeginPlay() {
Super::BeginPlay();
bool show = true;
if (show) {
if (ShowDeviceModels) {
SensorSetup.HandL.ControllerComponent->SetShowDeviceModel(true);
SensorSetup.HandR.ControllerComponent->SetShowDeviceModel(true);
for (FSensor& Tracker : SensorSetup.Trackers) {
......
......@@ -28,6 +28,8 @@ public:
bool UseKneeAsFoot;
bool ShowDeviceModels = true;
UPROPERTY(BlueprintReadOnly)
FSensorSetup SensorSetup;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment