tim12345 Guest |
Quote
|
2018-03-04 20:13:15 |
|
Hi Niko! Any plans to add the ability to toggle the 'affected by gravity' behavior for a specific scene node during runtime in the near future? I was just curious before I start building. Thanks!
|
niko Moderator |
Quote
|
2018-03-05 05:41:46 |
|
You mean so that you can remove or add it from objects durig the game? Would be an idea. (You can do this in the WebGL version already using the extended API, but yes, would be an idea for the generic interface as well). For what would you need that?
|
tim12345 Guest |
Quote
|
2018-03-05 12:35:49 |
|
Yes sir that's what I mean. I could use it for lots of things! Just one simple example would be for a custom A.I. enemy script I wrote in where the badguy has the ability to both fly around with his jetpack (not affected by gravity) and then land on the ground and wander around a bit (affected by gravity). would be nice to see it in action!
|
just_in_case Moderator |
Quote
|
2018-03-14 17:54:00 |
|
You can use behavior game object with health and Ai and tick mark the option "can fly" there... And use it to make the badguy fly...
I don't know if it will work or not... But the optuon "can fly" is supposed to do that thing for sure!!
|
tim12345 Guest |
Quote
|
2018-03-15 15:21:53 |
|
hum... this is not what i am asking for but thank you for the advice...
|