www.jpct.net
jPCT - a 3d engine for Java => Support => Topic started by: Jakes on August 25, 2020, 07:03:10 pm
-
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
-
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
-
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 (http://www.jpct.net/wiki/index.php?title=Picking)
-
Yes, thank you, it was missing that configuration
[Thread closed]