Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / HELP: What about Limb Select with Mouse?

Author
Message
Nytus Sermus
11
Years of Service
User Offline
Joined: 17th Jan 2013
Location:
Posted: 24th Jan 2013 03:11 Edited at: 14th Mar 2013 04:53


The subtle reality of the universe cannot be described, that which can be described in words is merely a concept of the mind.
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 24th Jan 2013 11:08
No, but you can program one yourself.

For example, you can retrieve the 3D position of where the mouse clicked on the object:



Since you know where the user clicked in 3D space, it won't be too hard to find the limb closest to the click.

TheComet

http://blankflankstudios.tumblr.com/
"Man being a noob sucks! " - OBese87
Nytus Sermus
11
Years of Service
User Offline
Joined: 17th Jan 2013
Location:
Posted: 24th Jan 2013 16:30 Edited at: 14th Mar 2013 04:54


The subtle reality of the universe cannot be described, that which can be described in words is merely a concept of the mind.
zeroSlave
14
Years of Service
User Offline
Joined: 13th Jun 2009
Location: Springfield
Posted: 24th Jan 2013 20:38 Edited at: 24th Jan 2013 20:40
What about making a transparent dummy cube for each limb, position it to that limb's xyz coords, reference the dummy object to the specific limb's ID, then click the dummy object to select the limb?

It might not be as pretty, but it should work better than trying to find the limb by name in a list.

Some quick Psuedo code for the above method:


Just a quick thought on the problem. Good luck!

Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid.
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 24th Jan 2013 20:53
Hi there.
What about checking for limb collision...perhaps a little bit slow but works.



Cheers.

I'm not a grumpy grandpa
Nytus Sermus
11
Years of Service
User Offline
Joined: 17th Jan 2013
Location:
Posted: 28th Jan 2013 06:30 Edited at: 14th Mar 2013 04:54


The subtle reality of the universe cannot be described, that which can be described in words is merely a concept of the mind.

Login to post a reply

Server time is: 2024-04-16 07:42:03
Your offset time is: 2024-04-16 07:42:03