Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,787 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
player offset of particle circle #132865
05/31/07 14:10
05/31/07 14:10
Joined: May 2007
Posts: 7
V
voswouter87 Offline OP
Newbie
voswouter87  Offline OP
Newbie
V

Joined: May 2007
Posts: 7
Hi guys,
I got a particles function spawning particles in a circle around my character. Only the character is not in the center of it. It should use player.x and player.y but looks like it uses an offset of that. The model pivot is in the bottom center of the model.
Does anyone know why it would use an offset of player.x and player.y or maybe not the model pivot?

function show_area_effect()
{
var i = 0;
while (i < 360)
{
vec_set(vec_p, vector(player.x + ( ( misery * 2 ) + 300 ) * cos(p_pan + i), player.y + ( ( misery * 2 ) + 300 ) * sin(p_pan + i), player.z ));
effect(area_effect,1,vec_p,NULL);
i += 1;
}
}

Re: player offset of particle circle [Re: voswouter87] #132866
06/01/07 18:43
06/01/07 18:43
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
check easy particle soft for particle effect...
and place emiter always at player position


Never say never.

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

Gamestudio download | 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