How to add physics to character (Being pushed by force)?
I have a question concerning physics on characters. In the game I'm currently working on, the player has to shoot platforms so they can expand. Some of them go out really fast and I planned in my level design that they, for example, shoot the player in the air if he stands on one and shoots it. So in other words, the player would fly off in the air for some time.
The problem is, for now, no matter how quick the platform moves when going up, or on the side, and the player stands on it, he just stays on the platform, like if he was glued to it. So I wondered if there's a way to enable physics on the character, so that when he gets pushed by something, he flies off in the direction he was pushed?
I tried looking into the Character Movement, in the Character, I tried changing some values, but for now, I haven't found anything.
Thanks in advance, and if you need precisions, just let me know!
Sadly, when you activate ''Simulate Physics'' on the character, you lose control of it and can't move. I guess it makes sense. But thank you for the suggestion!
I've actually managed to make it work by using Add Impulse on the character movement, but it's very manual and tedious because I have to tell the direction in which to impulse for each platform.
So I'm still curious if there's an automatic way to put force/impulse physics on a character, I would find it surprising that there's no way to do it.
answered Jan 15 '16 at 06:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here