Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Point at for particle emmiters

Author
Message
Tony Martin
15
Years of Service
User Offline
Joined: 5th Jun 2009
Location:
Posted: 9th Jul 2009 06:31
Currently I have a particle emmiter that has a gravity pull towards another (moving) object.
So on every frame, I get these nice trails from the emmiter as it gets pulled around by the object.
Now I would like to rotate the emmiter as it moves through space.
I thought I could simply use a Look at (look towards the other object) but it's not available.
I see the emmiter has a Rotate method but I'm stuck on how to get the three angles I would need for it.

I guess I'm looking for the x,y,z angles between my emmiter location and my other object?

Any help would be appriciated.
Thanks!
Potassium
15
Years of Service
User Offline
Joined: 12th Jul 2009
Location:
Posted: 13th Jul 2009 23:28
Posting the code probably might have someone help you.

Login to post a reply

Server time is: 2024-11-21 14:11:28
Your offset time is: 2024-11-21 14:11:28