#Just_Me Posted January 27, 2016 Share 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 ? Link to comment
tosfera Posted January 27, 2016 Share 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. Link to comment
#Just_Me Posted January 27, 2016 Author Share 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 ? Link to comment
tosfera Posted January 27, 2016 Share 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. Link to comment
#Just_Me Posted January 27, 2016 Author Share Posted January 27, 2016 Solved .. thanks # 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