#Ray something ray

7 messages · Page 1 of 1 (latest)

halcyon jacinth
#

How can I convert raycaststart to raycasthit, because one is a vector3 the other is a raycasthit type, how can I calculate one from the other? Thanks

raven gull
#

huh

#

are you looking for Physics.Raycast?

halcyon jacinth
# raven gull are you looking for Physics.Raycast?

Basically, I've got this "public Vector3 RaycastStart { get; set; }" from the PlayerPlacedBloodEventArgs and I want to use that later in ServerSendImpactDecal(RaycastHit hit, Vector3 origin, DecalPoolType decalType) as a raycasthit

#

Is that achievable

grand hound
#

You can just raycast it with Physics.Raycast as Ax said tho