#Just_Me Posted January 27, 2016 Posted January 27, 2016 hello guys ..can i add a collision to an explosion ? like not to fly away or .. camera shaking .. can i do that ?
tosfera Posted January 27, 2016 Posted January 27, 2016 Camera shaking, of course. Once the explosion takes place, create a colsphere by using createColSphere and get all the elements inside of it by using getElementsWithinColShape. Loop over them and run a function for those players. If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
#Just_Me Posted January 27, 2016 Author Posted January 27, 2016 you didn't understand me i want to cancel it .. how to stop camera shaking if there is an explosion ? and not to fly away when there is an explosion ? all of that i want to cancel .. how to do that ?
tosfera Posted January 27, 2016 Posted January 27, 2016 Oh, well you still have to do the same and see if you can use SetCameraShakeLevel to disable that shaking, I'm not sure to be honest. The flying away.. you might want to stop the explosion with cancelEvent and create the explosion in the client side to stop the effects. If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
tosfera Posted January 27, 2016 Posted January 27, 2016 No problem. If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
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