Skip to main content
gamedev.net
🔒 Locked

Coordinates system problem

Started by BigFatBaby 0 replies 400+ views
Original Post
BigFatBaby
BigFatBaby
im trying to make the coordiante system reletive to my viewport. example: a box is in the world center (0.0f, 0.0f, 0.0f) when the viewport moves the line of code risponsible for the positioning of the box is refering to the "world" so the movment of my viewport does not affect he positioning... is there a way to make the coordinate system relative ( some would call it "local" ) to the viewport, without changing the line of code that creates a box at (0.0f, 0.0f, 0.0f)? [edited by - BigFatBaby on February 15, 2003 6:44:23 PM]
----------------------------------------------------------I dont have syntax error....Only logical ones...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.