Page MenuHomeFeedback Tracker

hitObject always NULL for Bullet Library RayCast and SphereCast
Closed, ResolvedPublic

Description

proto static bool RayCastBullet(vector begPos, vector endPos, PhxInteractionLayers layerMask, Object ignoreObj, out Object hitObject, out vector hitPosition, out vector hitNormal, out float hitFraction);

proto static bool SphereCastBullet(vector begPos, vector endPos, float radius, PhxInteractionLayers layerMask, Object ignoreObj, out Object hitObject, out vector hitPosition, out vector hitNormal, out float hitFraction);

The out variable hitObject is always NULL, everything else works as expected (intended)

RaycastRV and RaycastRVProxy aren't suitable as they stop registering a hit after you are far away from the center of origin for the model (50 metres). RayCastBullet does register the hit but there is no way to know if it is the object I want.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

Jacob_Mango renamed this task from hitObject always NULL in DayZPhysics::RayCastBullet to hitObject always NULL for Bullet Library RayCast and SphereCast.Apr 21 2020, 7:21 AM
Jacob_Mango updated the task description. (Show Details)
Jacob_Mango updated the task description. (Show Details)
Geez changed the task status from New to Assigned.Apr 21 2020, 11:01 AM
komer added a subscriber: komer.Apr 21 2020, 5:19 PM
lava76 added a subscriber: lava76.Nov 1 2020, 6:09 PM
Geez changed the task status from Assigned to Acknowledged.Nov 30 2022, 9:13 AM
Geez closed this task as Resolved.Nov 30 2022, 10:33 AM
Geez claimed this task.
Geez added a subscriber: Geez.

Hello everyone.
The problem has been resolved internally and the fix will appear in one of the future updates.
Regards,
Geez