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 (7th_zorro, dr_panther), 1,173 guests, and 2 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
setting a part of an antity as a vector #294912
10/21/09 21:24
10/21/09 21:24
Joined: Apr 2009
Posts: 141
dakilla Offline OP
Member
dakilla  Offline OP
Member

Joined: Apr 2009
Posts: 141
is there a way to set a certain part of an entity as a vector. for instance if the entity's pan is changed, then the vector is changed accordingly. i hope i have explained it well enough crazy
Thanks


One day there will be an unfixable bug,
That day is not today.
Re: setting a part of an antity as a vector [Re: dakilla] #294915
10/21/09 21:55
10/21/09 21:55
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
well, define a vector and set the valuse in a while loop?


3333333333
Re: setting a part of an antity as a vector [Re: Quad] #295151
10/23/09 05:21
10/23/09 05:21
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
It would be easier to set or update that vector in the player movement loop rather than have a new function just for that. However if it's something as simple as the character's facing then that should be accessed on it's own.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: setting a part of an antity as a vector [Re: FoxHound] #295229
10/23/09 18:31
10/23/09 18:31
Joined: Apr 2009
Posts: 141
dakilla Offline OP
Member
dakilla  Offline OP
Member

Joined: Apr 2009
Posts: 141
hmph, i dont think that i explained well enough. Umm.. it's for an equipping script. soo... basically i dont know how to keep a vector 'sticking' onto a certain part of an entity. For instance, keeping a vector sticking to an entity's arm, so when i 'equip' an item in the game, i can set the items' position as that vector, and the item goes onto the entity's say... arm.


One day there will be an unfixable bug,
That day is not today.
Re: setting a part of an antity as a vector [Re: dakilla] #295233
10/23/09 18:52
10/23/09 18:52
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
I am not sure if i understand: maybee you mean "vec_for_vertex"?


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