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.

Newcomers AppGameKit Corner / [SOLVED] Change 3d object local position

Author
Message
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 21st Aug 2020 05:47 Edited at: 21st Aug 2020 05:49
So I'm loading my level up pre design from a editor.
There position is all at 0.

But when I rotate any object it rotates from it's position to 0 and back again.

I try to set object pivot but it doesn't matter.

I even rotate around it's self and it rotates to 0

I need to change the object local position to it's self.

I try to load them in fragmotion to change there position but that doesn't work.

The author of this post has marked a post as an answer.

Go to answer

blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 21st Aug 2020 09:45 Edited at: 21st Aug 2020 09:59
This post has been marked by the post author as the answer.
Position an object at the center of it's mesh dimensions

Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 21st Aug 2020 22:31
Ok thanks, I never heard of that but will try it.
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 22nd Aug 2020 00:50
Well that solved everything, now my distance formula works as well. Thanks

Login to post a reply

Server time is: 2024-03-29 11:15:31
Your offset time is: 2024-03-29 11:15:31