Skip to content

Commit

Permalink
Voxel-Demo, tag voxel body as not drawable
Browse files Browse the repository at this point in the history
  • Loading branch information
notgiven688 authored May 9, 2024
1 parent 2173adb commit 9be74a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/JitterDemo/Demos/Demo21.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public void Build()
body.SetMassInertia(JMatrix.Identity, 1.0f);
body.SetActivationState(false);

body.Tag = new RigidBodyTag(doNotDraw: true);

world.NarrowPhaseFilter = new VoxelEdgeCollisionFilter();

Console.WriteLine("Optimizing tree..");
Expand Down

0 comments on commit 9be74a9

Please sign in to comment.