Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Mar 28, 2024 5:56 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: On peut pas tourner ?
PostPosted: Sat Mar 17, 2007 11:52 am 
Offline
User avatar

Joined: Fri Mar 16, 2007 5:51 pm
Posts: 10
Location: bein là
raydium_ode_object_rotateq_name("WATURE_$id",100);

Fatal error: Call to undefined function raydium_ode_object_rotateq_name() in /home/maximilien/progs/raydium/glubs_ai.php on line 9

???


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 17, 2007 11:27 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Effectivement, cette fonction Raydium n'est pas disponible en PHP, en particulier parce que le "q" de rotateq signifie quaternion (nombre "complexe" de 4 flottants). Ton exemple d'utilisation n'est donc pas valable, et ce même en C.

En revanche, la fonction raydium_ode_object_rotate_name_3f() serait tout à fait adaptée à ton besoin (3 flottants avec les axes X, Y et Z). Cette fonction n'étant pas non plus disponible dans les bindings, je viens de la rajouter à l'instant (rev 534). Tu va la trouver en mettant à jour ta version de Raydium (depuis le SVN ou le nigthly tar.gz).


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 18, 2007 9:48 am 
Offline
User avatar

Joined: Fri Mar 16, 2007 5:51 pm
Posts: 10
Location: bein là
Ça c'est un moteur 3d ! En effet ça marche nickel !

J'avais donné l'exemple avec le 'q', parque j'ai fait d'autres essais vu que le '3f' marchait pas...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group