Search found 3 matches
- Sat Sep 10, 2011 9:24 am
- Forum: Questions and Help
- Topic: Any good ideas for implement a gravity gun?
- Replies: 2
- Views: 3471
Any good ideas for implement a gravity gun?
I'm trying to implement a simple gravity gun which can suck and hold the object at a certain distance away from the camera. When mouse is released, it can launch the object. My idea is : 1.use a ray to detect which entity is hited 2.set the gravity of this entity toward to the camera if possible. Bu...
- Thu Sep 08, 2011 6:03 am
- Forum: Questions and Help
- Topic: can i convert an entry to an entity
- Replies: 2
- Views: 3139
Re: can i convert an entry to an entity
thank you, that helps a lot
- Thu Sep 08, 2011 5:49 am
- Forum: Questions and Help
- Topic: can i convert an entry to an entity
- Replies: 2
- Views: 3139
can i convert an entry to an entity
I'm using the space.reycast, all the objects in my space are entities, but the rayCastResult returns the entry the ray hits. I want to know which entity the ray hits so i can deal with it
Or
Is there any way easy to know which entity the ray hits?
Or
Is there any way easy to know which entity the ray hits?