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 / ramp collision

Author
Message
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Jun 2007 02:16
hallo OnQue int...no more helper a needed...just do:


position object helper,x#,-49+y#-gravedad#,z#
position object bike,x#,-49+by#-gravedad_2#+up#,z#-10
point object bike, x#,y#-49,z#


can you see?....all depends on the value -49 of the gravity

just change this value to differents values...you will see that the bike goes down and down....no gap at all...


good luck..

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 25th Jun 2007 03:01 Edited at: 25th Jun 2007 03:05
i did that it is closer however at the end of the ramp it goes through and when i back up the bike,the helper stays in the ramp cant see it do i need to position the helper to the front tire if so how
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 25th Jun 2007 06:35
ok i got it fixed positioned the limb to front of bike does perfect no gap as well. now i see that u have ramp limits is that to keep it on the ramp at all times and if so i want it to be able to fall off. If u remember the ramp the end of it is a ramp that i want the bike to jump and come back down would that be physics and gravity
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Jun 2007 15:44
hallo.... of course !! you will fall down if you delete this piece of code(limits) .

In that case you will have to put a hidden objet at the end of the ramp and write a condition such as:


if object collision(bike,0)>0 then bla bla bla...yuo can decide

you have to prepare the animation that you want the bike do.

you could animate it manually with dark basic code.

i`ll prepare a example for you... Greetings

oh my god
Sopo the tocho
17
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 25th Jun 2007 21:51
Quote: "chafari "


Intel Pentium core 2 duo T6600 2,6 mhz 4mb, 4 gb ram 600 mhz ddr2, ATI X1650 radeon
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 26th Jun 2007 03:10
LOL...!! hallo sopo the tocho haha....i,m not alone in this place...i suppose you understand spanish , dont you?

no habras salido solo para decirme callate la voca? ja ja...

TRANSLATION:

You came in ,not only to say me shut up? ha ha

came on !! don´t be shy !!


cheerz.

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 26th Jun 2007 03:39
no dont understand spanish not alot anyways
Sopo the tocho
17
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 26th Jun 2007 04:50
Quote: "chafari

Location: canary islands
---------------------------------
Sopo the tocho

Location: Canary islands/Spain "




Intel Pentium core 2 duo T6600 2,6 mhz 4mb, 4 gb ram 600 mhz ddr2, ATI X1650 radeon
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 26th Jun 2007 05:12
i dont understand what u keep doing
Sopo the tocho
17
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 26th Jun 2007 05:24
Chafari will understand

Intel Pentium core 2 duo T6600 2,6 mhz 4mb, 4 gb ram 600 mhz ddr2, ATI X1650 radeon
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 26th Jun 2007 10:59
Ha ha....of course i will....i,m here in Canary Island/Spain but....mmmmmm LOL i,m not spanish but i can understan it quite well.


OnQue int...don´t get impatient...i will prepare the code for you as i promise.

cheerz.

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 26th Jun 2007 11:29
oh im not i thought that was you saying this stuff untill the last post i realized it was someone else. sorry
Sopo the tocho
17
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 27th Jun 2007 02:05
Quote: "Ha ha....of course i will....i,m here in Canary Island/Spain but....mmmmmm LOL i,m not spanish but i can understan it quite well."


Lanzarote?

Intel Pentium core 2 duo T6600 2,6 mhz 4mb, 4 gb ram 600 mhz ddr2, ATI X1650 radeon
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 27th Jun 2007 02:30
when i speed up the bike it goes through the ramp at the end of it.

i tried to put the finished ramp in and try to get it to work on this oone it wont work can i send it to u and u get it to work so i can compare the two so then i will know why it didnt work
Sopo the tocho
17
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 27th Jun 2007 02:42
Upload it in a winrar or winzip file.

Intel Pentium core 2 duo T6600 2,6 mhz 4mb, 4 gb ram 600 mhz ddr2, ATI X1650 radeon
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 27th Jun 2007 02:56
dont know who u are so sorry
Sopo the tocho
17
Years of Service
User Offline
Joined: 12th Jun 2007
Location:
Posted: 27th Jun 2007 03:44
lol

Intel Pentium core 2 duo T6600 2,6 mhz 4mb, 4 gb ram 600 mhz ddr2, ATI X1650 radeon
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 28th Jun 2007 02:35
Hallo again, OnQue int...and sorry for the delay but the code is ready.

I had to update it completely ,and now you decide what more you are goint to put ...or what changes you would like to do.



enjoy it !!

oh my god

Attachments

Login to view attachments
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 28th Jun 2007 03:19
i would like to get the beggining of the ramp done if i could in it this looks good why wont it rotate up the ramp like the other one
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 28th Jun 2007 03:29
Hallo...I know what you mean... i can put a helper in order to force the bike pointing it all time, but in such case we have to put more code for that...because right now, what the bike do is just stay on floor with gravity and the all moving is positioning the bike in the new values while we press upkey....if you want i could try to update the bike rolling...

here we go !!

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 28th Jun 2007 03:30
if i could get both ramps in there and get it to go down and up the way it should i could study how u did it and figure it out. would you mind putting both in there and get it to work and then i will take it from here. still ask questions of course but wont ask for u to do it for me cause then i can see how you make the physics for two diferent ramps

thanks
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 28th Jun 2007 03:35
ok...just let me a couple of days...or perhaps tomorow i can get the code ready for you...and don´t worry..ha ha...i´m playing and enjoing with it like my little son..haha

cheerz.

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 28th Jun 2007 03:42
do you want me to send what i have thanks for saying that
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 28th Jun 2007 03:46
ok...if you send a compressed rar or just the code and i can adjust them ...


cheerz.

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 28th Jun 2007 03:56
ok i will send u both ramps.it wont keep the wood taxture i have
and also not to ask to much can u prepare a code that will allow it to jump from one to the other a i will manipulate so it and see how that works thanks

Attachments

Login to view attachments
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 28th Jun 2007 04:05
ha ha... i dont understand when u say (not to ask to much)...

do you want the bike comes down this other ramp?

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 28th Jun 2007 04:08
yea if u dont mind if you can prepare a code that will allow it to come down the first and jump to the other so i can see how it is done then i can change some things to see what it cahnges then change it back that is the best way i learn then try to use it somewhere else and i write it several times so i know it without looking it up
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 28th Jun 2007 04:12
ok...it´s gonna be the best way...so as i told you, perhaps i can get it for tomorow...here ist a little bit late and tomorow is gonna be a hard working day....but don´t worry i will make it for sure !!..


greetings.

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 28th Jun 2007 04:14
thanks so much
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Jun 2007 01:01
hallo OnQue int ....I,v been doing diferents pieces of code to get somethin like you need...but as you know here have we no physics at all...and now i send you two test . Of course the animation of the bike going down the ramp could be more realistic if it pitch up and down....and you can see that in one of the tests but the problem comes once we turn the bike...as we need to update position of helpers any time they move...any way i don`t give up

cheerz

oh my god

Attachments

Login to view attachments
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 29th Jun 2007 14:23
its definatley getting closer i see what you mean when u turn the bike it turns in the air. the helper box that is between the 2 ramps do you need that i thought collision and physics jump the bike but i really dont know alot about that part of it but it wont be long for sure i am trying my best to figure out the other half of coding with your help that i have blessed to have i will get it then i will be fine
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 30th Jun 2007 00:03
Well ...the hidden object for the ramp ist not necesary in some cases, but it is just a helper to prevent not to fall down...we can do that by many ways...even with way points...

example:



oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 30th Jun 2007 03:59
ok i took a good look at it i understand all but i=1 to 3 next i i havent seen that yet can u explain thanks
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 30th Jun 2007 16:12
Hallo again....

for example, if we want to make 50 boxes from 1 to 50 and we do:

make object box 1,20,20,20
make object box 2,20,20,20
make object box 3,20,20,20
make object box 4,20,20,20...... THIS IS A HARD WORK...

so we could do:
for i =1 to 50
make object box i,20,20,20
next i


Now with just this three lines we made 50 object box ...understand?

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 1st Jul 2007 01:03
oh ok i get it now. what is the best way make the bike rotate the angles it need to on the way down and up the ramp.
I also scaled everything up to the size it needed to be and positioned
the camera and also fixed the gravity on how far the bike will fall and the camera range now i need to get the gravity in there and everything else i need thanks DAD haha
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 1st Jul 2007 02:56
you could decide if you put helper objects in order to force the bike to point the correct angle you need ,like the example i sent you with boxes...if not the first example i sent to you...but in that case you have to go straight ahead all along the ramp ...we are trying to do that with not physics...haha i never thought it was goint to be a nightmare!!


don´t give up !! cheerz

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 3rd Jul 2007 07:17
sorry it is becoming a nightmare for you imagine what it is for me learning more everyday though but here is what ive done with it if u are trying to do some more on it here is the new one thanks again

Attachments

Login to view attachments
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 3rd Jul 2007 10:59
Hallo OnQue int...isn´t it the same folder i sent to you?...it looks to be no more than the three examples i sent you last time !!...


If you want to add something more to those codes or me just update some bits , tet me know your progress.


cheerz.

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 4th Jul 2007 03:03 Edited at: 4th Jul 2007 03:18
i thought it was my landing ramp i changed and the camera scaled all of it up and placed them in the right area with the proper gap between the 2 i think let me make sure yep you are right this is it

Attachments

Login to view attachments
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 4th Jul 2007 22:12
what i sent you i tried first even downloaded it to try but now i downloaded it to see it again to work on the scenery now im not showing no codes in db just blank screen but the exe loaded it up without textures do you know why
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 4th Jul 2007 22:57
hallo...well, you have to put the dba code and not only the Dbpro one. I,v seen your exe any way, but unless you add some helper to scenery you will fall down every time you loanch down

we have to prepare what we want the game do, if not we can´t get any thing good for other people.


Now the bike apears close to the camera and some times it looks like we are gliding, and it was the reason I put the camera not so close...but it can be done like you have now but in that case the bike must be closer to the ramp...

tell me if you want the bike do something else, and litle by litle we can try...


cheerz

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 5th Jul 2007 02:42
if you have the code that is great because i lost it somehow i had a idea that will probably make it easy on going down the first ramp instead of the steep drop here is a add to the ramp tell me if this works better

Attachments

Login to view attachments
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 5th Jul 2007 20:34
i cant get the bike to rotate down the ramp tried everything i know wont work have you tought of anything also i must not be exporting right sometimes it has the texture then sometimes it dont
i fixed the ramp where it is not as steep of a drop kinda rounded at the top i sent the link sbove this
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 6th Jul 2007 00:45
Hallo...if you lost the code, you can download it again from here.
I saw your last ramp model, but it doesn´t matter the model you use as we have no physics in this example.

If you just want tu simulate the bike going down the ramp with a real animation, it could be just that !! an animation of the bike object, made in a external editor with its all path.

cheers.

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 6th Jul 2007 06:33
well how do i do the physics for the game or what is the best way physics probably
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 7th Jul 2007 01:48
you could do with ode comands but no idea how it works

Any way you will need full version of Dbpro i think.


cheerz.

oh my god
Neotech
19
Years of Service
User Offline
Joined: 10th Jul 2005
Location:
Posted: 18th Jul 2007 15:32
Hey OnQue Int. Remeber me?... You should
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 20th Jul 2007 07:09
chris i hope need to talk to you been a while been out of town for a while working also chafari how are you doing been wanting to say hi and to see hoe you were to
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 20th Jul 2007 19:12
hallo again OnQue Int...nice to see you again over hire...lol

Dont give up with your game !!


cheers.

oh my god
OnQue Int
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 23rd Jul 2007 10:50
ha just caught that talk about all time typos

Login to post a reply

Server time is: 2024-11-25 15:20:29
Your offset time is: 2024-11-25 15:20:29