Projectile Fail
Posted: Tue Dec 29, 2009 10:09 pm
Soo, I don't really know where to post this. Basicly it's about projectiles and their boundingboxes, colliding with other pawns, such as the scripted player.
I got 2 shots from my test level in my mini project, the first one shows how the boundingboxes of the projectile and my pawn actually colldide with each other and the player doesn't get hit, the second one is just how this looks without boundingbox mode:
http://drivingblind.eu/box_bug.jpg
http://drivingblind.eu/box_bug2.jpg
My projectile definition:
The shooting from the enemy script:
The projectile can hit my pawn, but only if at least half of it's boundingbox has collided with the pawn, which leads me to the toughts, that maybe the wireframe is the one, that matters, but I'll leave this theory to the guys, who have access to RF's source code and know what's written in there.
So meanwhile, if there's a way to make the projectile correctly collide with the player, please tell me, cuz the project was supposed to be out on 1.1.10, but things like this are really not helping me.![Smile :)](./images/smilies/icon_smile.gif)
I got 2 shots from my test level in my mini project, the first one shows how the boundingboxes of the projectile and my pawn actually colldide with each other and the player doesn't get hit, the second one is just how this looks without boundingbox mode:
http://drivingblind.eu/box_bug.jpg
http://drivingblind.eu/box_bug2.jpg
My projectile definition:
Code: Select all
[AiBolt]
type = projectile
effect0 = ai_bolt
effectbone0 =
actor = Projectile\w_bullet.act
rotation = 0 -90 90
scale = 0.01
gravity = false
bounce = false
speed = 600
lifetime = 10
boundingbox = 40
damage = 15
altdamage = 15
shakeamount = 0
shakedecay = 0
explosionradius = 256
explosiondamage = 0
decal = 0
bonelevel = false
attachactor = true
Code: Select all
SetTargetPoint(0,-100,0);
FireProjectile("AiBolt", FIREBONE, 0, 0, 0, "health_player");
So meanwhile, if there's a way to make the projectile correctly collide with the player, please tell me, cuz the project was supposed to be out on 1.1.10, but things like this are really not helping me.
![Smile :)](./images/smilies/icon_smile.gif)