[Help] Flap flap flap
Is there an efficient way to code flapping motion (up-down-up-down~, like flappy bird's flying motion)?
https://tctechcrunch2011.files.wordp...appy.gif?w=738 the only idea i've got is to execute an upward force every second, not sure if there is better way(s) to do it |
Re: [Help] Flap flap flap
Bounce code?
|
Re: [Help] Flap flap flap
Yeah something like that, but it doesnt use codes like EntityContact, FindEntityInSphere etc.
Currently im making a flying creature plugin and i want it to look more realistic when it is in hover mode |
Re: [Help] Flap flap flap
Alright. Will wait for the answer.
|
Re: [Help] Flap flap flap
The way I was doing it :
Add some int variable to the entity, e.g. EV_INT_iuser1. Then in Entity Think add something like this Code:
|
| All times are GMT -4. The time now is 18:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.