Black2 Posted March 15, 2015 Share Posted March 15, 2015 Hello,I was wondering how do I a brand that is on the floor not open in another altitude. Example: The mark is in (z 100) It is opening in the same place only in (Z 1000) How I fix that to abir only (z 100). Link to comment
Addlibs Posted March 15, 2015 Share Posted March 15, 2015 Either use a col-sphere in the instead of a marker (using the marker just for the visual aid), or adding a simple 'if' statement: local _, _, height = getElementPosition(hitElement) if height-1 > marker_Z_position and height+1 < marker_Z_position then --Do your stuff end Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now