Add velocity inheritance for BallisticHitScanner #1

Open
opened 2026-11-03 17:09:17 +03:00 by burs · 0 comments
Owner

Add two more properties to BallisticHitScanner3D:

  • velocity_source: PhysicsBody3D -- object that will become a source of velocity,
  • velocity_inheritance: float -- velocity inheritance factor from 0 to 1.

On ray cast, sum basic ray velocity and, if present, velocity_source's velocity.

Add two more properties to `BallisticHitScanner3D`: - `velocity_source: PhysicsBody3D` -- object that will become a source of velocity, - `velocity_inheritance: float` -- velocity inheritance factor from 0 to 1. On ray cast, sum basic ray velocity and, if present, `velocity_source`'s velocity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
osfb/hitbox.gd#1
No description provided.