Rewrite of collision detection #78
Labels
No labels
API
Addon Request
Bug
Duplicate
Enhancement
Feature Request
High Priority
Hybrid Software
Incompatibility
Invalid
Legacy
Low Priority
Missing Information
Needs Confirmation
Possible with API
Question
Won't Fix
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: SBDevelopment/VehiclesPlus#78
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Slab driving is at the moment very buggy.
To Reproduce
I tried the following combinations:
1:
This will cause a very bumpy car, that sometimes stops for slabs.
2:
This will cause slowdown issues when riding over slabs (half blocks).
3:
This will cause slowdown issues when riding over slabs (half blocks).
4:
Your vehicle will sometimes get destroyed when you are driving upward slabs.
Expected behavior
It should run smoothly without any slowdown issues.
Screenshots or Video Recordings
Server and Plugin Information
Additional context
Slabdriving bugs is still a thing in the latest build (containing other fixes).
Try placing the armorstand a little bit more up
I'm getting the same issue as the gif image.
・VehiclesPlus-Pro 2.3.0
・Spigot (2991-Spigot-018b9a0-f3f3094) on RHEL7.7
・Paper (git-Paper-753 (MC: 1.16.5)) on CentOS7.4
・openjdk version "11.0.11" 2021-04-20 LTS
I see this issue has been open for a very long time, maybe my advice will help in development.
Once for my server, I fixed this. The whole problem is the hitbox system and the vanilla gravity of the stands. To fix this, I used RayTrace in the hitboxes and replaced the gravity of the stands with a loop that tries to move the car down
I don't remember how the hitbox system works in your plugin. I would do this: there are points on the edges of the hitbox that check if they are in the air (in bukkit there is a function to check if the point touches the solid part of the block), the car moves until the point is in the block. if the car is stuck in the block - it is pushed out
Up
This issue is on task list for v3, closing this issue because of that.