Page MenuHomeFeedback Tracker

setTowParent doesn't work properly on the Hatchback
Closed, ResolvedPublic

Description

When connected to another vehicle with setTowParent and a rope, the standard Hatchback is almost immovable, even if the vehicle towing it is capable of moving far heavier cars.

Reducing the Hatchback's mass with setMass doesn't help much; nor does disableBrakes. The Hatchback Sport is not affected by this issue.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  1. Place a Hatchback. Place a vehicle with plenty of engine power like an Ifrit directly in front of the Hatchback.
  2. Give the vehicles variable names (e.g. v_car, v_ifrit) and place a character to play as.
  3. Start the mission.
  4. In the debug console, enter:
rope1 = ropeCreate [v_ifrit,[0,-4.5,-1.3],v_car,[0.4,1.9,-1.1],6]; 
rope2 = ropeCreate [v_ifrit,[0,-4.5,-1.3],v_car,[-0.45,1.9,-1.1],6];
v_car setTowParent v_ifrit;
  1. Get in the driver's seat of the Ifrit and attempt to drive away. Note that the Hatchback refuses to budge.
  2. Optionally, experiment with setMass and disableBrakes on the Hatchback and note there is no appreciable difference.

You can repeat this test, replacing the Hatchback with another Ifrit or a Hatchback Sport, to demonstrate the problem is unique to the Hatchback.

Event Timeline

NikkoJT created this task.Mar 17 2022, 6:07 PM
Tenshi changed the task status from New to Reviewed.Mar 21 2022, 2:17 PM
Tenshi set Ref Ticket to Internal Ref.: AIII-55034.
Tenshi added a subscriber: Tenshi.

Thank you for reporting the issue,
I was able to repro the problem on our internal version.

dedmen added a subscriber: dedmen.Apr 11 2022, 10:07 AM

Profiling branch has some tweaks (the driver of the towing vehicle needs to be using prof branch) that should fix this and make towing a bit smoother overall.

dedmen changed the task status from Reviewed to Feedback.Aug 22 2022, 10:54 AM

Testing in 2.10 indicates Hatchbacks no longer have supermassive parking brakes. Can be closed.

R3vo closed this task as Resolved.Apr 13 2023, 7:49 PM
R3vo claimed this task.