dim3 Forum

Full Version: Projectile contact stuff
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
obj.setting.contact=false;
^This works for objects

Why doesn't the below work with projectiles?
Code:
proj.setting.contact=false;
Murderpuss2000 Wrote:
Code:
obj.setting.contact=false;
^This works for objects

Why doesn't the below work with projectiles?
Code:
proj.setting.contact=false;

Because it doesn't exist in the proj object model. The only way to do that is to check for hits and cancel them as they come in. Projectiles work a bit differently from objects.

[>] Brian
I know im a n00b, but couldnt you do

proj.model.on=false

and turn off the whole model? I mean, you wouldnt really get a bullet that doesnt hurt, unless you got no bullet at all...
Chainfist Wrote:I know im a n00b, but couldnt you do

proj.model.on=false

and turn off the whole model? I mean, you wouldnt really get a bullet that doesnt hurt, unless you got no bullet at all...

That'll turn off the model, but it won't effect any other system (collisions, etc.) Is there a time where you'd want no model but collisions? Possibly, maybe you were just using effects, etc.

[>] Brian
It's an arrow stuck on the wall, and I want it to stay there and not hurt you when you walk into it
When you retrieve an event for the projectile hitting a wall, change the damage to 0.
Reference URL's