Skip to content

Lacking vector movement demos #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ghost opened this issue Jun 14, 2022 · 2 comments
Open

Lacking vector movement demos #43

ghost opened this issue Jun 14, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 14, 2022

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.

@danaugrs
Copy link
Member

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!

@ghost
Copy link
Author

ghost commented Jun 18, 2022

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

@ghost ghost mentioned this issue Jun 26, 2022
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant