Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, AndrewAMD), 877 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
tunnelsystem test #202014
04/12/08 20:51
04/12/08 20:51
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
whatever this will lead to :


short movie

movement still a bit weird as i need to find a way to be independent from the view direction


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: tunnelsystem test [Re: ello] #202024
04/12/08 21:39
04/12/08 21:39
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
wow, wierd and cool, could be good, for a futuristic racing game


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: tunnelsystem test [Re: Blade280891] #202025
04/12/08 21:54
04/12/08 21:54
Joined: Jan 2007
Posts: 1,565
innsbruck, austria
achaziel Offline
Serious User
achaziel  Offline
Serious User

Joined: Jan 2007
Posts: 1,565
innsbruck, austria
whoa, trippy O_o


Yeah, but... Who is Lu?
Re: tunnelsystem test [Re: achaziel] #202038
04/12/08 23:17
04/12/08 23:17
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Trippy indeed! Keep us posted about the progress. \:\)


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: tunnelsystem test [Re: ello] #202087
04/13/08 08:09
04/13/08 08:09
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
 Originally Posted By: ello
movement still a bit weird as i need to find a way to be independent from the view direction


Independent in what respect?

Re: tunnelsystem test [Re: Pappenheimer] #202133
04/13/08 15:47
04/13/08 15:47
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
independent to the direction. so even if the entity is pointing upwards or downward 90 degree, looking right or left should be possible. now its not:
 Code:
		xs *= 0.9;
		xs += (key_w-key_s)*speed*time_step;
		ps *= 0.9;
		ts *= 0.9;
		rs *= 0.9;
		ps -= (mouse_force.x)*speed*time_step;
		ts += (mouse_force.y)*speed*time_step;
		rs += (key_d-key_a)*time_step;
		c_rotate(me,vector(ps,ts,rs),GLIDE|IGNORE_YOU|IGNORE_PASSABLE|IGNORE_SPRITES);
		c_move(me,vector(xs*time_step,ys*time_step,zs*time_step),nullvector,GLIDE|IGNORE_PASSABLE|IGNORE_SPRITES);
		vec_set(camera.x,my.x);
		vec_set(camera.pan,my.pan);


this code results in uncontrolled fast rotations if you look up (or down) wards and try to look left or right.


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
Re: tunnelsystem test [Re: ello] #202169
04/13/08 18:12
04/13/08 18:12
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
Trippy indeed @_@


Click and join the 3dgs irc community!
Room: #3dgs
Re: tunnelsystem test [Re: ello] #202170
04/13/08 18:18
04/13/08 18:18
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
I didn't code anything with c_rotate yet.
Sounds as if the axes of the rotating entity don't rotate with the entity.
I would create a debug panel where I can see the resulting values of the entity's pan, tilt, roll, to get an idea how they actually behave.

Re: tunnelsystem test [Re: Pappenheimer] #202197
04/13/08 19:51
04/13/08 19:51
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Try the c_rotate flag USE_AXISR

Very nice scene

[Comment: The rest was removed because of my stupidity]

Last edited by Xarthor; 04/13/08 20:07.
Re: tunnelsystem test [Re: Xarthor] #202200
04/13/08 19:54
04/13/08 19:54
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
not really, but do you have a link?

and thanks for the USE_AXISR, that seems to do the job!

Last edited by ello; 04/13/08 19:56.
Page 1 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1