Getting material of hit ground?
Discussion in 'Rust Development' started by Quenn1599, Feb 1, 2016.
-
A plugin could be made as such....take a look at Fishing for an example.
-
The fishing plugin uses waterlayer height and groundlayer height to determine if water is hit, it actually doesn't look at the material of the ground layer.
-
Calytic Community Admin Community Mod
hitinfo.HitMaterial
-
Thanks! Is there a list of materials as the hitmaterial is a number value?
-
Calytic Community Admin Community Mod
Nope, not that I am aware of. Easy enough to test by printing to console.
-
Yeah, just wanted to work on a plugin without having to open a test server.
Thanks for your help
