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.

AppGameKit Classic Chat / Object Pivot

Author
Message
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 18th Mar 2017 01:57
So, looking at Ricks example here (https://forum.thegamecreators.com/thread/216175) I deduce that we use the 0,0,0 point in the world to "fix" a pivot point to any given object.

It appears counter intuitive to me; surely it would make more sense to move the relative pivot point on the object itself?

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 18th Mar 2017 09:35
two options
create the mesh from source code as you need, there is no need to move the vertices later.
second, move and rotate the mesh vertices as you need.

AGK (Steam) V2017.02.28 : Windows 10 Pro 64 Bit : AMD (17.2.1) Radeon R7 265 : Mac mini OS Sierra (10.12.2)
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 18th Mar 2017 14:04
I was implying that it would make more sense to move the pivot locally to the object, rather than move the object to the pivot so to speak.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 18th Mar 2017 15:10
normal a pivot is imaginary and the 0,0,0 pos in the mesh and the vertices relative to it.
moving the vertices is more intuitive for me. i guess its the same task you think about.


AGK (Steam) V2017.02.28 : Windows 10 Pro 64 Bit : AMD (17.2.1) Radeon R7 265 : Mac mini OS Sierra (10.12.2)
nz0
AGK Developer
17
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 21st Mar 2017 00:00
For me, the pivot is a discreet entity which is essentially a parent of the geometry - hence my question.

Perhaps it's the reasoning of someone more used to working in 3D tools like lightwave.

It doesn't really matter, as I can adapt to what it is. Now I create (null) pivot objects in the 3D design object and parent the other objects to that, rather than mess with the AppGameKit version of pivots.

e.g. I would have thought when designing an object for animation, you would already have designed pivots in if they were needed. My efforts were based on building an object from cube primitives, which isn't usual.

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 21st Mar 2017 00:36
Maybe u can useing "bones" there?
AGK (Steam) V2017.02.28 : Windows 10 Pro 64 Bit : AMD (17.2.1) Radeon R7 265 : Mac mini OS Sierra (10.12.2)

Login to post a reply

Server time is: 2024-11-24 18:25:43
Your offset time is: 2024-11-24 18:25:43