Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [SOLVED] Need help with raycast for 3d

Author
Message
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 19th Apr 2023 00:50 Edited at: 19th Apr 2023 00:51
Ok so I do not know how to cast a ray properly, everytime I do my program freezes. I need to do a check in front of my 3d player and also for walking in water and the water has no collison. I am lost.

But I also need to figure out how to detect if im walking on water also. I repeat this because the function here is just for picking up objects.

What freezes my program.

The author of this post has marked a post as an answer.

Go to answer

Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 19th Apr 2023 03:59
Ok so I figured this out for collecting items and the water by using vector3 but when I delete a item from the system it crashes and not sure why.
So I have to just hide them.

PSY
Developer
7
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 21st Apr 2023 18:14
This post has been marked by the post author as the answer.
Hi,

I replied in your other thread:
https://forum.thegamecreators.com/thread/229063

PSY


PSY LABS Games
Coders don't die, they just gosub without return
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 21st Apr 2023 18:37
Thank you and it works, I thought APPGAMEKIT was broken lol, I guess not.
PSY
Developer
7
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 21st Apr 2023 20:06
No problemo


PSY LABS Games
Coders don't die, they just gosub without return

Login to post a reply

Server time is: 2024-04-19 06:05:48
Your offset time is: 2024-04-19 06:05:48