Jump to content

Camera Raycast hangs for a slit second


Chiblue
 Share

Recommended Posts

I am using the camera raycast to select objects hit by a bullet, I am using a call back in the filter to ignore all controlller body objects, this works very well with one exception occasionally when I do the raycast the initialization, I.e the processs in le between perrforming the cast and returning the first collision entity seems to hang for a short time which hangs the game.

 

The problem does not appear to be multiple object in the collision or the distance as I can cast with noting in the path and lots of objects in the path and the hang will be random, this said it appears to be more prevelant when I rayvcast with multiple collisions.

 

Are there any guidelines for doing this or known issues I need to work around?

If it's not Tactical realism then you are just playing..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...