I'm trying to get a collision to work between two externally loaded geom's (A green pad and a Mag wheel check images). I'm trying to create a bounds for each shape and then when they collide my behavior function wants to System.out.print something.
I read JK's 3D tutorial and he suggested using bounds so I've been trying to get my head around how to set up my ViewingPlatform branch to successfully manage a collision. Setting up activation radius as such for the ViewingPlatform.
I can't get my ViewingPlatform to get its bounds set (I already checked the Capability bits).
u is SimpleUniverse
vp.setPlatformGeometry( pg );
vppbounds.setRadius(50.0); vppbounds.setCenter(new Point3d(0.0, 0.0, 0.0));
viewingplatform bounds activation radius:Center=(0.0, 0.0, 0.0) Radius=-1.0
viewplatform bounds activation radius:Center=(0.0, 0.0, 0.0) Radius=50.0
I can set my ViewPlatform but not ViewingPlatform ... what am I missing?