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.

Author
Message
z i l c h vortex
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: united kingdom
Posted: 19th May 2009 19:43
How could i make it so you can pick up an object infront of you and hold it in the air then leave go of it i looked at this example but i couldnt get it to work.

Thank you.

life is short but so am i
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 19th May 2009 20:03 Edited at: 19th May 2009 20:04
see if you can do anything withh this.

http://forum.thegamecreators.com/?m=forum_view&t=130797&b=6

Dark Physics makes any hot drink go cold.
z i l c h vortex
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: united kingdom
Posted: 19th May 2009 20:11
Thats the one i was looking at i couldnt pick stuff out just got confused

life is short but so am i
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 19th May 2009 20:21
have you got the pickobject to work yet?

Dark Physics makes any hot drink go cold.
z i l c h vortex
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: united kingdom
Posted: 19th May 2009 21:22
Yea ill post my code so far just i need a pick up system.



life is short but so am i
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 19th May 2009 21:32
in this code does the object 2(target) stay in the center of the screen and everything else moves depending on which way you move?

Dark Physics makes any hot drink go cold.
z i l c h vortex
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: united kingdom
Posted: 19th May 2009 21:47
Nah its mouse 1 selects on object mouse 2 selects another you press f it adds a joint to them
press - key and it makes a stack. press ctrl it spawns cubes.

life is short but so am i
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 19th May 2009 21:57
this sort of works. rem back in what I have rem out to make it work on my system.



Dark Physics makes any hot drink go cold.
z i l c h vortex
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: united kingdom
Posted: 19th May 2009 22:06
Nah it doesnt work sorry. tried it in a function
still didnt work.
Thank you for trying. hmm this is hard and anoying hahaha

life is short but so am i
z i l c h vortex
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: united kingdom
Posted: 19th May 2009 22:25
hmm could you write out the certain parts of code like to find the angle and stuff then i could most probabley make it from there.

life is short but so am i
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 19th May 2009 23:20 Edited at: 19th May 2009 23:23
the shoot bit with the code number returned form dragobject put in obj1


the function updated




sorry a bit abdisract watching TV while answering this.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-04-26 17:19:43
Your offset time is: 2024-04-26 17:19:43