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