Xeonmeister Posted February 24, 2016 Share Posted February 24, 2016 Hi. Is it possible to check if i hit an object that has no collision? I tried 'processLineOfSight' but it seems not to detect whenever I shoot an object which has no collision. Link to comment
Xwad Posted February 24, 2016 Share Posted February 24, 2016 I think you should attach a col to the object Link to comment
Xeonmeister Posted February 24, 2016 Author Share Posted February 24, 2016 I found out that what i want is impossible but i ask it: Is it possible with the default world? I mean if an object is so far away that it doesn t have have collision. I can t do anything to it then right? Link to comment
Captain Cody Posted February 24, 2016 Share Posted February 24, 2016 Well if it is extremely far away, yet still visible you can use process line of site, and just increase the distance I think Link to comment
tosfera Posted February 25, 2016 Share Posted February 25, 2016 Hitting something without a collision is impossible without any workaround. You can add a colshape around it and attach some default data to it, you can also just create your own collision files in 3Ds max or something like that. If you want to go for a cheap solution; add an object with a collision on the same location and make it's opacity/alpha 0. This'll hide the object, yet still fix the collision thing. If you're rendering in the faaaaaar distance, hitting it would be harder but not impossible. 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