From 82f9b5c81896cbd62c84df89df839c497a3e2ebc Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 15 Feb 2011 07:47:48 +0000 Subject: Win! Got some very basic grabbing and moving implemented. Found the Node object's amazing get/setUserData method. I had a brillant hunch such a method may exist. The mouse movements need to be scaled to the vworld coordinates though. --- src/alden/CollidableObject.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/alden') diff --git a/src/alden/CollidableObject.java b/src/alden/CollidableObject.java index d207f8f..f3e1ed9 100644 --- a/src/alden/CollidableObject.java +++ b/src/alden/CollidableObject.java @@ -58,7 +58,7 @@ public abstract class CollidableObject { protected void setShape(Node node) { this.node = node; TG.addChild(node); -// TG.addChild(CollisionDetector.createShape(CollisionDetector.triangularize(shapeNode))); + //TG.addChild(CollisionDetector.createShape(CollisionDetector.triangularize(node))); } public Group getGroup() { -- cgit v1.2.3