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 / Another question. :o

Author
Message
boymonkey 130
19
Years of Service
User Offline
Joined: 16th Oct 2005
Location:
Posted: 4th Jun 2006 05:27
Hello, me again. I hopped back onto my practice program, and after I thought I had just worked out the last kink in my newest addition, I found out that I fixed nothing, and just added some useless code. So, any idea why this isn't working? (It's supposed to make a circle move around the circle you controll, but it just follows it closely.
Crit
18
Years of Service
User Offline
Joined: 24th May 2006
Location:
Posted: 6th Jun 2006 04:28
You typed the wrong variable names in this part:




You could also make the cirlce rotate around the other one by putting this in your loop:



boymonkey 130
19
Years of Service
User Offline
Joined: 16th Oct 2005
Location:
Posted: 6th Jun 2006 18:47
Thanks. I'm at school so I'll be making this quick.
I don't really understand the second set of cod ethat you gave me. is there any way you could help me figure it out a little bit? It's really confusing to me. Thanks for the help, too.
boymonkey 130
19
Years of Service
User Offline
Joined: 16th Oct 2005
Location:
Posted: 7th Jun 2006 02:32
I'm sorry, I don't really see what I did wrong there. :?
Crit
18
Years of Service
User Offline
Joined: 24th May 2006
Location:
Posted: 7th Jun 2006 18:04 Edited at: 7th Jun 2006 18:06
you typed this:

if yplus=25 then xplusyes=0
if yplus=-25 then xplusyes=1
if zplus=25 then xplusyes=0
if zplus=-25 then xplusyes=1


the second set of code I put in makes the 2nd object orbit around the first object at a radius of 25 units.

Login to post a reply

Server time is: 2024-11-27 17:46:32
Your offset time is: 2024-11-27 17:46:32