i have an object that touches another object through overlap sphere. When i tried to get the point where the objects collide i noticed that "collision data get position" give position of the other object and not the position of the collision. My question is:
How do i find the position of the collision point from the collision data?
#collision data get point
1 messages · Page 1 of 1 (latest)
You might have to use a raycast and approximate where the point is idk if there is a chip that gets collision position
i cant use raycast or sphere cast because i'll have to send it from inside the object which will ust return the object itself
No if it starts inside it doesn’t it’s actually pretty cool that it does that
then next question: how would i approximate the point?
the object that has the detection is held by a player and other object is basicaly ground so its really big and using stuff like velocity or direction towards an object wont really work in my case
Alright so what you could do is fire like a bunch of raycasts and pick the closest hit point might take a hot minute to make
i need it to be accurate
i check that basically every fram and set players velocity depending on the collisions
if i try to just shoot random raycast in all directions then the player will either fly from place to place or just launch into the shadow realm
Oh so it’s like that hammer parkour game
Do you even need the collision position i think you could just use the velocity of the end of the hammer and detect if there are any walls in the collision at that time
not really what im making
the main thing is that you can stand on it and you can drive on it
its like a big sawblade on a stick