Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Particles from vertex to vertex #138259
06/26/07 14:21
06/26/07 14:21
Joined: Mar 2005
Posts: 969
ch
Loopix Offline OP
User
Loopix  Offline OP
User

Joined: Mar 2005
Posts: 969
ch
Sorry for the n00bish question but I'm still weak in vectors

I want some particles going from one vertex to an other vertex of my model...possibly with adjustable speed...or even better with increasing velocity.....that's all

Thanks!

Last edited by Loopix; 06/26/07 14:23.
Re: Particles from vertex to vertex [Re: Loopix] #138260
06/26/07 14:53
06/26/07 14:53
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Maybe with simple "look at me" ?

vec_for_vertex(pos_1,me,150);
vec_for_vertex(pos_2,me,160);
effect(some_effect,1,pos_1,nullvector);

in particle function
my.move = on;
while(you)
{
vec_set(temp,pos_2);
vec_sub(temp,my.x);
vec_to_angle(my.pan,temp);
my.vel_x += 5 *time_step;
wait(1);
}

Not tested
Cheers

Last edited by tompo; 06/26/07 14:53.

Never say never.
Re: Particles from vertex to vertex [Re: tompo] #138261
06/26/07 14:58
06/26/07 14:58
Joined: Mar 2005
Posts: 969
ch
Loopix Offline OP
User
Loopix  Offline OP
User

Joined: Mar 2005
Posts: 969
ch
Thanks! I think now I should be able to manage


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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