Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Get the Currenct X position of a object - but integer

Henry Grumiaux
Registered User
Join date: 23 Jan 2007
Posts: 142
06-21-2007 12:43
I'm in trouble while trying to convert a current X position of a object to a integer.

I'm trying to put the vector.x into a integer variable.for me, just matter the integer part of the X.

Someone can help me ?
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
06-21-2007 13:57
integer x = (integer)vector.x;