Jump to content
  • 0
Igor Q.

[Bug] - Cannot RayCast outside of ~200 unit range of player

Question

When I try raycasting to the ground from a distance greater than ~200 units from the player, the terrain doesn't "exist" and does not allow me to me to find the hit position.
This is quite inconvenient since I would like to spawn random area's of interest that the player can encounter in a randomly generated world. (However to do so I need to place them on ground, and not water)

Share this post


Link to post
Share on other sites

2 replies to this bug / suggestion

Recommended Posts

  • 0

Unfortunately, it isn't possible to raycast this far from a Player, since it would frequire to load up the whole map at once, which would "break" the game. 

Share this post


Link to post
Share on other sites
  • 0
On 6/29/2020 at 6:16 AM, Adam Snellgrove said:

Unfortunately, it isn't possible to raycast this far from a Player, since it would frequire to load up the whole map at once, which would "break" the game. 

But that's a bit weird isn't it? Shouldn't you be able toload the chunk of where the raycast is happening and just "deload" the chunk after? (Similar to how in multiplier you can have multiple chunks loaded)

In most cases my ray cast isn't exceeding 100 units.

Edited by Igor Q.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×