Gamestudio Links
Zorro Links
Newest Posts
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
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (VoroneTZ, TipmyPip), 1,316 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 5 1 2 3 4 5
[REQ] Wall/Ceiling climbing script example #175568
12/31/07 19:34
12/31/07 19:34
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline OP

.
Nems  Offline OP

.

Joined: Mar 2003
Posts: 4,264
Wellington
Like many in the forums I am wanting a clear definitive example (working would be good) of the player character walking on walls and ceilings.

I see Frazzle and vlau are looking at various methods and many are talking about quaternions (whatever those are! )

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?

Re: [REQ] Wall/Ceiling climbing script example [Re: Nems] #175569
12/31/07 20:10
12/31/07 20:10
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
What you need to do is a trace down, then two more traces forward infront of the character and backward, and then set the player to the average between them.

Re: [REQ] Wall/Ceiling climbing script example [Re: lostclimate] #175570
12/31/07 20:21
12/31/07 20:21
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline OP

.
Nems  Offline OP

.

Joined: Mar 2003
Posts: 4,264
Wellington
Hey thanks for the hint lostclimate.
How much would you ask for to write a working example for me ?

Re: [REQ] Wall/Ceiling climbing script example [Re: Nems] #175571
12/31/07 20:53
12/31/07 20:53
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
15USD sound good?

Re: [REQ] Wall/Ceiling climbing script example [Re: lostclimate] #175572
12/31/07 21:04
12/31/07 21:04
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline OP

.
Nems  Offline OP

.

Joined: Mar 2003
Posts: 4,264
Wellington
Awesome, please pm me to arrange payment details (dont have credit card but can use mum in laws )or thru the banks maybe?

Re: [REQ] Wall/Ceiling climbing script example [Re: Nems] #175573
12/31/07 22:17
12/31/07 22:17
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
I've got an working script right here so no money needs to be spend Nems
It's not perfect yet but it will do if the restrictions are takin into account ^^

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: frazzle] #175574
12/31/07 22:31
12/31/07 22:31
Joined: Mar 2003
Posts: 4,264
Wellington
Nems Offline OP

.
Nems  Offline OP

.

Joined: Mar 2003
Posts: 4,264
Wellington
Thanks Frazzle but its ok, its something that might prove usefull for another project I have in mind, cheers mate.

Re: [REQ] Wall/Ceiling climbing script example [Re: Nems] #175575
12/31/07 23:33
12/31/07 23:33
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Oke

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: frazzle] #175576
01/01/08 10:09
01/01/08 10:09
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Wall/Ceiling climbing: I see some tips about this topic
when I search the forum but no completed code. Will be great
if frazzle can post your code here. I think many people will
love you.

Camera tracking object without spin at 90 & 270
I found some members looking for a solution about this
issue and I've tried very hard to solve this problem,
still not success, have tried to use atan2(), still no luck.

Re: [REQ] Wall/Ceiling climbing script example [Re: vlau] #175577
01/02/08 02:46
01/02/08 02:46
Joined: Nov 2003
Posts: 1,257
Wade_Adams Offline
Serious User
Wade_Adams  Offline
Serious User

Joined: Nov 2003
Posts: 1,257
It would seem to me that a wall/ceiling climbing script would simply involve to parts:

standard movment script with pan tilt adjustment for the angle of the wall/floor/ceiling and an adjustment the gravity vector based on the angle of the entity.


Optimism is an occupational hazard of programming: feedback is the treament.
Kent Beck
Page 1 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