x


Gun not to make it go through the objects

How can I make my gun not to go through walls.Also yes my gun already has a collider

  • Felipe
more ▼

asked Feb 25 '12 at 03:55 AM

BigBlob gravatar image

BigBlob
400 60 64 67

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

What Ive done is make the gun small and then make the character controller a bit wider so it covers the gun.

more ▼

answered Feb 25 '12 at 07:33 PM

Dreave gravatar image

Dreave
137 91 96 97

You mean the collision range wider, right?

Feb 25 '12 at 08:05 PM BigBlob
(comments are locked)
10|3000 characters needed characters left

You need to setup a box collider around the gun but just behind the end of the barrel so that your projectiles can exit safely without being stoped by the Collider.

more ▼

answered Feb 25 '12 at 05:48 AM

Durante gravatar image

Durante
36 23 24 26

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1183
x591
x136

asked: Feb 25 '12 at 03:55 AM

Seen: 1109 times

Last Updated: Feb 25 '12 at 08:05 PM