Hello, I am new to max script. I want to round object position and rotation keys to "integer". I am modding Tomb Raider, and animations can not use floats....
As for now, I got this little snippet from internet which sets key at every frame.
sTime = animationRange.start
eTime = animationRange.end
for obj in selection do (
for t = sTime to eTime do
addNewKey obj[3] t
)