g3n/g3nd

Lacking vector movement demos

Opened this issue · 2 comments

There was a question in help topic on g3n Discord a few weeks ago where someone asked after examples of simple movement of characters. I seconded the question because I also had no idea how.

There were no answers. So I did research on game dev math, played around in g3n and the result is a small g3n movement demo (g3nmovedemo).

It has a simple translation/rotation mode, a "flying/steering" mode, smooth buffered motion, a smooth quat slerp "LookAt()", and demonstrates backstabbing.

If you like I can prepare a simple set of demos to be included in g3nd.

If this interests you, let me know.

Hi @Juuliuus, I just tried it - pretty cool!
Preparing simpler movement demos for g3nd would be nice.
Which ones do you have in mind? Feel free to open a PR!

I think it would be best to keep them simple and to the point and so I think just moving a character and not having the switching between camera and character? what do you think?

I was thinking the simple translate and the "fly"ing. Maybe the slerp quats? So a series of 3 max.

These all depend on g3n v0.2.0. Give me a couple days to get this done and then it may be a good time to tag g3nd. I believe the problem I had was pulling g3nd @latest and I only have the g3n v0.2.0 on my system. That was why I put in the issue regarding having the readme file for g3nd mention that it required g3n v.0.1.0