wrong in control direction

All information about Magic Particles: news, question, comments, etc.

wrong in control direction

Postby tall_tree » Fri Nov 15, 2013 12:22 pm

Pic_1.jpg
Pic_1
Pic_1.jpg (151.18 KiB) Viewed 42282 times
The black lines are the directions I set the emitter by using "Magic_SetEmitterDirection".I get directions of NO.1 and NO.3 by using "Magic_GetEmitterDirection". They change all the time and are not same with the direction I give.
Pic_2.jpg
Pic_2
Pic_2.jpg (48.13 KiB) Viewed 42287 times
Pic_3.jpg
Pic_3
Pic_3.jpg (74.31 KiB) Viewed 42280 times

The emitter will turn to the direction as in the Magic Particles software.i.e the emitter in the Pic_2 will turn to -Z at last.
Waiting for your answer!
tall_tree
 
Posts: 11
Joined: Fri Jun 07, 2013 1:40 pm

Re: wrong in control direction

Postby Odin_KG » Sat Nov 16, 2013 11:23 pm

Unfortunately, I understood a little.

They change all the time and are not same with the direction I give.

Currently API allows to change the axes directions. Therefore quaternion is converted to the "API format" during Magic_SetEmitterDirection and quaternion is converted to the back during Magic_GetEmitterDirection. But the converting influences the result slightly.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm

Re: wrong in control direction

Postby tall_tree » Mon Nov 25, 2013 1:36 am

It's my fault.The API works well!
tall_tree
 
Posts: 11
Joined: Fri Jun 07, 2013 1:40 pm

Re: wrong in control direction

Postby Odin_KG » Mon Nov 25, 2013 2:25 am

It's my fault.The API works well!

Thank you for info! It is important for me.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm


Return to Magic Particles

Who is online

Users browsing this forum: No registered users and 0 guests

cron