Quantcast
Channel: Answers for "View entire object when on intersection of wall"
Browsing latest articles
Browse All 6 View Live

Answer by Bunny83

To pull the grenade out of the wall you need to adjust the hitpoint you get from the hit along the hitnormal.if (BigGrenade){ BigGrenade.transform.position = hit.point + hit.normal*2; [...] }Replace...

View Article



Answer by Bravini

it seems to me you have to make the spawn point of your particles a bit far from the wall, checking direction and adding a distance on the inverse direction. Also be sure to make your particle system...

View Article

Answer by Macdude2

This was what I was looking for...function FireRed () { var direction = transform.TransformDirection(Vector3.forward); var hit : RaycastHit; // Did we hit anything? if (Physics.Raycast...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images