Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine Model Engine
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 34
    • Issues 34
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model EngineModel Engine
  • Issues
  • #96

Closed
Open
Created Feb 21, 2024 by KillerCreeper@KillerCreeper112

Passenger's MountControllers do not tick if driver is not present

When adding drivers and passengers through the API:

MountManager#addPassengerToSeat(model, boneID, p, new WalkingMountController());
MountManager#setDriver(p, new WalkingMountController());

If the driver of the model dismounts while there are passengers, the passengers will not be able to sneak to dismount and therefor are pretty much stuck riding the model until the driver mounts again.

This is due to the MountController function, updatePassengerMovement, not being ticked if no driver is present.

There also doesn't seem to be a simple workaround for this. I've tried listening for PlayerToggleSneakEvent and EntityDismountEvent but neither of those execute when a player is mounted on a ModelEngine model and sneaks.

Edited Feb 21, 2024 by KillerCreeper
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking