Topic: Collisions with other obstacles besides characters?

I'm going to make it possible to put obstacles in the stage that the character can collide with and not penetrate, but this appears to require code modifications to UFE 2 since it seems to have custom collision detection instead of unity physics.  The game I'm making doesn't have to have online multiplayer features.

It also appears that the 3d fighter requires the stage to be a perfect circle unless you do some programming changes to detect other collisions and have obstacles, etc.  I want to change it to more of a regular physics capsule collider situation for everything in the environment except allow UFE 2 behavior for the fighters hitting each other to keep that the same.   I also realize there is a wall bounce feature, which I'd have to consider as well.   I guess the current engine assumes they are on a flat surface inside a circle with invisible walls, and there would be a little programming to allow vertical movement and have other obstacles besides fighters.  Is there any functionality included that allows some of what I'm saying already?  It seems like I'd need to modify physicsScript to do it. 

I want to make a free run feature as a button so the character can escape the battle stance and move anywhere probably with a regular character controller that pauses some of the UFE 2 logic, but when you let go, it would attempt to resume the battle.  You might need to jump over obstacles or walk around them to resume the fight again though.

I plan on doing environment interaction as part of the fight, like throwing objects nearby / damaging scenery & moving into other stage areas. 

For throwing something in the environment, I'm thinking you could create a projectile move and modify the move asset code to have new options like "Environment Conditions" similar to player conditions with some various options then you could make new ones with the move interface easier.  The stance feature could be used to share all the moves to all the characters.

I also plan on having events where the background comes to life and interacts with the players, like a mech shooting at the players periodically and then ufe will still need to fire reaction animations and account for damage similar to how the throw system works but getting triggered without a button press.  Maybe a new Hit Confirm Type: Environment under active frames would be needed.

Mostly curious if there is anything that already exists for these things for UFE 2.  I should be able to program them if I need to.

Share

Thumbs up 0 Thumbs down

Re: Collisions with other obstacles besides characters?

Were you able to do this? Because I'm also working on a 2D stage that has platforms that I want the fighters to be able to jump on. Please let me know, thanks!

Share

Thumbs up Thumbs down

Re: Collisions with other obstacles besides characters?

UFE 3 is going to have platforms. It would require code changes to implement platforms in UFE 2

Share

Thumbs up Thumbs down

Re: Collisions with other obstacles besides characters?

FreedTerror wrote:

UFE 3 is going to have platforms. It would require code changes to implement platforms in UFE 2

Do you know which files I would need to change?

Share

Thumbs up Thumbs down

Re: Collisions with other obstacles besides characters?

I'm not exactly sure. Physics Script maybe?

Share

Thumbs up Thumbs down

6 (edited by skyflare 2022-02-22 17:30:29)

Re: Collisions with other obstacles besides characters?

I haven't made any progress on my UFE 2 ideas.  I may revisit this later.  I did spend 50 hours after this post making a complex 3d math simulation to generate a snake procedurally and animate it in 3d. I think I learned how to do the math stuff really good back then.  But I have focused on web development since then.  I'm expecting to get back into game development more soon though.  I do think these ideas I posted would still be important to me if I work on this again.  I am considering working on city simulation genre too now though.

yadferhad wrote:

Were you able to do this? Because I'm also working on a 2D stage that has platforms that I want the fighters to be able to jump on. Please let me know, thanks!

Share

Thumbs up Thumbs down