Hello all!!
Is there a way to make the object collide with only projectiles using ObjectTemplate.AddToCollisionGroup??
Thanks!
ObjectTemplate.AddToCollisionGroup
ObjectTemplate.AddToCollisionGroup
Walk quietly and carry a sniper rifle
Re: ObjectTemplate.AddToCollisionGroup
Anyone?? (I doesn't have to use "addtocolisiongroup")
Walk quietly and carry a sniper rifle
Re: ObjectTemplate.AddToCollisionGroup
possibly try make the object of some unlisted material, it works for projectiles
Re: ObjectTemplate.AddToCollisionGroup
I want basically a wall that people and vehicles can go through, but you cant shoot through. Maybe Apache would have a suggestion? 

Walk quietly and carry a sniper rifle
- Vilespring
- Posts: 740
- Joined: Sat Nov 24, 2012 5:47 am
- Location: Somewere in the United States
Re: ObjectTemplate.AddToCollisionGroup
Apache actually posted something like you said, but it will be harder to implement, because you gonna have to add it to ALL the vehicles, and people cannot go through it. and, then vehicles would go trough each other. Just make a geometry without a collision mesh 1 (I think, that is vehicles and buildings) and keep a visual mesh and the projectile mesh. Now, infantry won't be able to go through, so make something like a door in it.
A picture is worth a thousand words, but takes up three thousand times the memory.
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Area 51: http://battlefieldarea51mod.weebly.com/

"I didn't steal your pizza"
Re: ObjectTemplate.AddToCollisionGroup
edit, did not work :/
Re: ObjectTemplate.AddToCollisionGroup
this is what I'm attempting:



Walk quietly and carry a sniper rifle
- Apache Thunder
- Posts: 1213
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: ObjectTemplate.AddToCollisionGroup
Yes, I thought about suggesting using the unused collision group. BUT. Here's the problem.
It doesn't work on soldiers very well. As soon as a soldier enters a vehicle and then leaves it, the collision group assigned to him gets lost. The player would have to die and respawn for it to work again. So it won't work for you if you intend to include soldiers in this system.
It doesn't work on soldiers very well. As soon as a soldier enters a vehicle and then leaves it, the collision group assigned to him gets lost. The player would have to die and respawn for it to work again. So it won't work for you if you intend to include soldiers in this system.




I have cameras in your head!