Opened 2 years ago

Last modified 16 months ago

#6522 new defect

Units acceleration hovercraft edge case

Reported by: marder Owned by:
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by marder)

replace UnitMotion with the following in template_unit_siege

<UnitMotion>
  <PassabilityClass>large</PassabilityClass>
  <RunMultiplier>1</RunMultiplier>
  <InstantTurnAngle>10</InstantTurnAngle>
  <Acceleration op="mul">0.05</Acceleration>
  <Weight op="mul">5.0</Weight>
</UnitMotion>

start a game, build a ram and then let it do a 180° turn.

You will notice the it will immediately turn around, but still slowly decelerate in the wrong direction, come to a halt and then slowly re-accelerate in the correct direction.

This seems inconsistent with other turning/ acceleration behavior.

Do note that this is not a bug that you will notice in the unmodified game, as there is no unit with a disabled InstantTurnAngle. It also only happens on a 180 turn.

See this video for another example: https://code.wildfiregames.com/file/data/mo5pwjnho2m2trv43ezt/PHID-FILE-ocpmhdmkiy55ujjms7pn/0_A.D._2022-08-15_18-51-31.mp4

Change History (5)

comment:1 by Stan, 2 years ago

Description: modified (diff)

comment:2 by Stan, 2 years ago

Description: modified (diff)

comment:3 by Freagarach, 2 years ago

Milestone: Alpha 26Alpha 27
Priority: If Time PermitsShould Have

comment:4 by marder, 21 months ago

Description: modified (diff)

comment:5 by Freagarach, 16 months ago

Milestone: Alpha 27Backlog

Pushing back.

Note: See TracTickets for help on using tickets.