Skip to content

Commit

Permalink
Merge pull request #821 from hugtalbot/fix_some_scene_stc6_collisiong…
Browse files Browse the repository at this point in the history
…roup

[Scenes] Fix scenes having issue with CollisionGroup
  • Loading branch information
guparan authored Nov 20, 2018
2 parents 8d88548 + e061012 commit 32b1bee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion examples/Demos/chainAll.scn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<BruteForceDetection name="N2" />
<MinProximityIntersection alarmDistance="0.3" contactDistance="0.2" name="Proximity" />
<CollisionResponse name="Response" response="default" />
<CollisionGroup name="Group" />
<Node name="TorusFixed">
<MeshObjLoader name="loader" filename="mesh/torus2_for_collision.obj" />
<Mesh src="@loader" />
Expand Down
1 change: 0 additions & 1 deletion examples/Demos/chainHybrid.scn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<BruteForceDetection name="N2" />
<NewProximityIntersection name="Proximity" alarmDistance="0.3" contactDistance="0.2" />
<CollisionResponse name="Response" response="default" />
<CollisionGroup name="Group" />
<Node name="Chain">
<Node name="Fixed">
<MeshObjLoader name="loader" filename="mesh/torus_for_collision.obj" />
Expand Down
4 changes: 2 additions & 2 deletions examples/Objects/TorusFFD.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<UniformMass totalMass="5" />
<RegularGridSpringForceField name="Springs" stiffness="200" damping="2" />
<Node name="Visu">
<OglModel name="Visual" fileMesh="mesh/torus.obj" color="yellow" dx="0" dy="0" dz="0" scale="1.0"/>
<OglModel name="Visual" fileMesh="mesh/torus.obj" color="yellow" scale="1.0"/>
<BarycentricMapping input="@.." output="@Visual" />
</Node>
<Node name="Surf2">
<MeshObjLoader name="collisionLoader" filename="mesh/torus_for_collision.obj"/>
<Mesh src="@collisionLoader"/>
<MechanicalObject dx="0" dy="0" dz="0" scale="1.0"/>
<MechanicalObject scale="1.0"/>
<Triangle />
<BarycentricMapping />
</Node>
Expand Down

0 comments on commit 32b1bee

Please sign in to comment.