Discuss Scratch

FunTech_Studios
Scratcher
45 posts

!!! Help with 3D Raycasting !!!

I am trying to make a 3D raycasting project and need a way to shoot rays out from the player into 3D space and continue until the ray hits one of the cubes.
My question is how exactly do you calculate which direction the ray goes out to for each point (pixel) on the screen. and how exactly do you continue that ray, I am not completely sure how giving a direction, to shoot a ray out in 3D
FunTech_Studios
Scratcher
45 posts

!!! Help with 3D Raycasting !!!

bump
FunTech_Studios
Scratcher
45 posts

!!! Help with 3D Raycasting !!!

bump
FunTech_Studios
Scratcher
45 posts

!!! Help with 3D Raycasting !!!

bump
TechNerd64
Scratcher
500+ posts

!!! Help with 3D Raycasting !!!

I have achevied.a simale4 effect in my old Hogwarts legacy studio.
FunTech_Studios
Scratcher
45 posts

!!! Help with 3D Raycasting !!!

TechNerd64 wrote:

I have achevied.a simale4 effect in my old Hogwarts legacy studio.
can you explain how you did it?

Powered by DjangoBB