Skip to content
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

Expand framework for 3D agents to rotate on more than one axis #32

Open
Razoric480 opened this issue Feb 12, 2020 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@Razoric480
Copy link
Collaborator

Razoric480 commented Feb 12, 2020

To simplify the math, the base behaviors currently only operate on one axis as far as their rotation and orientation goes; pretty much implying them to be 2D agents in a 3D world.

They can move in all axis, but rotation is locked to Y axis. It's fine for most games where agents will be upright beings and cars, but falls short for six-axis games.

Special orientation behaviors can be introduced that work on multiple axis. It would necessitate extending TargetAcceleration to support Quat/Basis and extending the 3D Kinematic/Rigid agents to override their _apply_orientation methods (as well as adding a GSAIMatchOrientation3D, Face3D and LookWhereYouGo3D.)

@Razoric480 Razoric480 added the enhancement New feature or request label Feb 12, 2020
@Razoric480 Razoric480 changed the title Expand 3D framework to more than one axis Expand framework for 3D agents to rotate on more than one axis Feb 12, 2020
@Burnsedia
Copy link

This would be really good for 6dos space games

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants