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.

Author
Message
super philip
17
Years of Service
User Offline
Joined: 31st Jul 2008
Location: Italy
Posted: 1st May 2012 22:46
scusate! potete aiutarmi ?

ho un problema per realizzare un gioco.

ho bisogno di fissare un oggetto 3d sullo schermo senza

l'istruzione lock object,in pratica la telecamera gira

a 360 gradi sia in x che in y io ho bisogno di fissare un

oggetto 3d in una certa posizione fissa malgrado la telecamera

giri.

ma non ci riesco, potete aiutarmi ?
The Weeping Corpse
14
Years of Service
User Offline
Joined: 19th Sep 2011
Location: United Kingdom
Posted: 1st May 2012 23:05
I think you need to use

SET OBJECT TO CAMERA ORIENTATION

???
super philip
17
Years of Service
User Offline
Joined: 31st Jul 2008
Location: Italy
Posted: 1st May 2012 23:17
tank's ma con set object to camera orientation non funziona !

perche' non e' l'angolo dell'oggetto che devo variare ma e'

la sua posizione in base alla rotazione della telecamera .
29 games
20
Years of Service
User Offline
Joined: 23rd Nov 2005
Location: not entirely sure
Posted: 1st May 2012 23:36
Will this help?

Use the mouse the rotate the camera.



I don't speak or read Italian so I'm using google translate.
super philip
17
Years of Service
User Offline
Joined: 31st Jul 2008
Location: Italy
Posted: 1st May 2012 23:49
tank's il mio problema e' un altro!

uso per girare la telecamera il joypad o i tasti(arrowkeys):

con i comandi :

hide object 65000

turn object right 65000,movy#

pitch object up 65000,movx#

rotate camera camera angle x(65000),camera angle y(65000),camera angle z(65000)

io penso che si dovrebbero usare i comandi :

cos() e sin() oppure newxvalue,newyvalue,newzvalue.
super philip
17
Years of Service
User Offline
Joined: 31st Jul 2008
Location: Italy
Posted: 2nd May 2012 00:04
la routine che si occupa di posizionare l'object 3d e' :

direction pointer

super philip
17
Years of Service
User Offline
Joined: 31st Jul 2008
Location: Italy
Posted: 2nd May 2012 11:15
grazie 29 games !

mi sei stato di grande aiuto , grazie a te ho risolto il

problema grazie ancora.

Login to post a reply

Server time is: 2026-07-08 03:47:45
Your offset time is: 2026-07-08 03:47:45