move object till it touches ground
#1

Hey,

Have a little question:

How can I move a object down, till it touches the ground ?

Example: You are sitting in a hydra and pushing the h-key. A package moves staight down and touches the ground, where a pickup or somethink else will apear.

I have the OnPlayerKeyStateChange-part ( well not written down but I know how I will write it ), but I need somethink else than MoveObject :S

Tion

/edit: Have a little bit question -> Have a little question
Reply
#2

the HeightMap plugin https://sampforum.blast.hk/showthread.php?tid=120013 could help you. its optimal for using it for dropping objects - it returns the top-most place at any x-y position
Reply
#3

thanks :O

this helped me really a lot

thanks,

Tion
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)