Jump to content

Implementing forces in Unit Motion (HELP WANTED)


Recommended Posts

@real_tabasco_sauce there is nothing that force elephants or boats to be "solids". Above you have videos of cavalry charging some civilians, you can see it's still doing some physics, but if you don't add "solids" to boats and elephants : 

1. Their collision area is a circle at its center, so things that hit him and that he hit 

  • don't spin him as much as you'll expect
  • have to hit him at center, front and back are ghost parts you can just go through
  • are weaker (elastic)

2. Path-finding don't ignore idle units so they are considered as obstacles

Link to comment
Share on other sites

16 minutes ago, Atrik said:

this thread is already about trying to get units that both try to not overlap

Maybe it would be nice to have some custom scenario with all put in place to test everything (elephants going around tight spaces, them and cavalry charging infantry, ship collisions, etc), while knowing what the idea for each should be. Then we can compare different implementations in many particular situations.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...