#slam cv2

1 messages · Page 1 of 1 (latest)

grave sable
#

collision detection "on object hit" > if (object has tag "surface", you can ignore this if you want to slam anything including other weapons) > set position of your slam thing to the "collision data get position" (name probably inacurate but you get the idea)

#

i forgot how to make it rotate properly but it's something to do with raycast and "get hit position normal" or something along those lines

#

but if you're map is flat (like TGC most of the time) you can just make it so it only spawns on horizontal objects but giving those objects a tag

torpid latch
#

try collision data get surface normal

#

send the rotation of the slam to that, if it’s rotated weirdly then you can edit pivot point

grave sable
torpid latch