jPCT - a 3d engine for Java > Support
World calMinDistance Issue
(1/1)
Jakes:
Hello,
I've been trying out the World.calcMinDistance method but nothing was returned (the value COLLISION_NONE), and when trying the same method from on object from that world, it yields out a distance. Shouldn't the first one work when the object returns a value?
Regards,
Jakes
Jakes:
Mostly because I want to have a way of picking objects from the world using the cursor and this seems to be the only way.
furthermore, is there any way of picking a group of objects inside a view plane? like a rectangle selection?
Regards,
Jakes
EgonOlsen:
One difference between these methods is, that the one world requires the objects to the set as colliders while the one in Object3D doesn't. Maybe that's the issue. See: http://www.jpct.net/wiki/index.php?title=Picking
Jakes:
Yes, thank you, it was missing that configuration
[Thread closed]
Navigation
[0] Message Index
Go to full version