View Full Version : Translate only one object
i pick on the screen one object . How can i translate only the specific object and not all the objects ?
Batou
04-18-2005, 11:55 PM
>> How can i translate only the specific object and not all the objects ?
use glTranslate , then draw your object where ever u want , use glLoadIdentity and then draw other objects
glPushMatrix();
glTranslatef(x,y,z);
//draw your object
glPopMatrix();
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.