Kinds-of-Intelligence-CFI / animal-ai-unity

Animal-AI Unity
https://github.com/Kinds-of-Intelligence-CFI/animal-ai
Apache License 2.0
1 stars 2 forks source link

ButtonPillar Rotation Behaviour is Unexpected #20

Closed wschella closed 4 months ago

wschella commented 10 months ago

A buttonpillar rotation of 90 gives this result:

image

Funny, and could be useful, but probably not what is intented @kozzy97 @alhasacademy96 ?

alhasacademy96 commented 10 months ago

Yep, i'm aware of that. Also, you will notice that the y axis is fixed at 0. This is because the spawner_interactivebutton.cs component is not inheriting from Prefab.cs, which all other reward dispensers are, where most of the dispensing logic/code is residing (including SetRotation and GetPosition). Bare with me whilst I create a new Interface for the Pillar Button component where all the functionality is inherited from Prefab.

wschella commented 10 months ago

Okay! There is no urgency tho. Just reporting :)

github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 30 days with no activity.