Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood), 1,268 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 5 1 2 3 4 5
Re: [REQ] Wall/Ceiling climbing script example [Re: frazzle] #175588
01/06/08 12:37
01/06/08 12:37
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline
User
DavidLancaster  Offline
User

Joined: Nov 2004
Posts: 862
Australia
Like Super Mario Galaxy? That'd be really tough to do. Wouldn't be hard to do a spider man code as the character model wouldn't be tilted to extremes so you wouldn't get the angle changing spinning issue.

I still wonder if it's possible to get it functioning like Galaxy Good work Frazzle!

Re: [REQ] Wall/Ceiling climbing script example [Re: DavidLancaster] #175589
01/06/08 16:57
01/06/08 16:57
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Thank you David, I really appriciate credits from a user like you
Btw, there's only one way to find out to see if it's possible to fit Galaxy

Cheers

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: [REQ] Wall/Ceiling climbing script example [Re: Nems] #175590
01/06/08 20:49
01/06/08 20:49
Joined: Jun 2005
Posts: 656
G
Grafton Offline
User
Grafton  Offline
User
G

Joined: Jun 2005
Posts: 656
Quote:

I had assumed that this could be accomplished using 'normals' and local axis for pan/tilt calls but am unsure on how to approach in this direction or indeed, if this is actually possible.

Has anyone a n example to share please?




My example is two years old so it does not use quaternions or c-lite. It works
on curved surfaces at any angle in every position. I do think quaternions are a
more elequent solution and perhaps the best way to do this however.

Frazzle seems to just about have it figured out (Good Work!), although his
solution is different than mine.

Currently I am working on and off on a racing game that uses what I call
"gravity leveling" technology. The tracks twist 360 degrees, double back on
theirselves upside down and loop also.


Not two, not one.
Re: [REQ] Wall/Ceiling climbing script example [Re: Grafton] #175591
01/07/08 09:15
01/07/08 09:15
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline OP

.
Nems  Offline OP

.

Joined: Mar 2003
Posts: 4,264
Wellington
Hi Grafton, I remember this demo and this actually lead me to look into the function as you had already proved it possible back then.

Any chance of looking into the script?

Re: [REQ] Wall/Ceiling climbing script example [Re: Nems] #175592
01/07/08 09:37
01/07/08 09:37
Joined: Dec 2003
Posts: 129
Osnabrück, Germany
Ready Offline
Member
Ready  Offline
Member

Joined: Dec 2003
Posts: 129
Osnabrück, Germany
I second that.
Such a script would surely be helpful


Do not underestimate people because they have a low post count... :0
Re: [REQ] Wall/Ceiling climbing script example [Re: Nems] #175593
01/07/08 09:59
01/07/08 09:59
Joined: Jun 2005
Posts: 656
G
Grafton Offline
User
Grafton  Offline
User
G

Joined: Jun 2005
Posts: 656
Since the solutions presented here are different than mine was, I cant really comment on them, although they seem very workable to me.

My "gravity leveler" code is the heart of my current game concept (sort of a "wipeout" inspired racing game). It will be pretty much finished once I can finally fix the collision problems with the vehicles sometimes "clumping" together and becoming stuck. At that point if it is still needed (or if I lose interest), I wouldnt mind posting my solution here also.


Not two, not one.
Re: [REQ] Wall/Ceiling climbing script example [Re: Grafton] #175594
01/07/08 19:42
01/07/08 19:42
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Posting your methode would be nice
It would be useful since we can compare our pov about our approach thus maybe solve each others problems

Thanks in progress

Frazzle


Antec® Case
Intel® X58 Chipset
Intel® i7 975 Quad Core
8 GB RAM DDR3
SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB
NVIDIA® GeForce GTX 295 Memory 1795GB
Re: [REQ] Wall/Ceiling climbing script example [Re: frazzle] #175595
01/07/08 20:20
01/07/08 20:20
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline OP

.
Nems  Offline OP

.

Joined: Mar 2003
Posts: 4,264
Wellington
You can set ID's for each vehicle and check if they intersect then draw them apart or similar to get past the 'clumping'.
Alternatly, you can get them to keep reletive distance with a vec_dist function so that they never clump together or rarely clump together (I've had issues with vec_dist in this regard).

Re: [REQ] Wall/Ceiling climbing script example [Re: Nems] #175596
01/09/08 08:10
01/09/08 08:10
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
"Camera tracking object without spin at 90 & 270"

- I've heard problems about this several times. If it's still needed, I think I can program a solution...


xXxGuitar511
- Programmer
Re: [REQ] Wall/Ceiling climbing script example [Re: xXxGuitar511] #175597
01/09/08 09:24
01/09/08 09:24
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
@xXxGuitar511,

Actually I don't need it in my project, but there are
some forum members here looking for a solution about
this issue, it would be nice if you can program a
solution FOC.

I've tried different approach without success, I can make
the camera tracking objects without spin at 90 & 270 if
the object is flying staightly overhead, but the problem
is my code can't apply to other objects that are flying
in different directions.

What I'm suppose to do is the camera is on the world center,
number of objects are flying around the world, you're free
to click on any object and the camera will turn to looking
at the object and start tracking it all the way.

Last edited by vlau; 01/09/08 09:34.
Page 3 of 5 1 2 3 4 5

Moderated by  adoado, checkbutton, mk_1, Perro 

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