Ambiera ForumDiscussions, Help and Support. |
|
[ 1 2 ] Page 1 of 2 |
|
|||||
|
Any thoughts anyone? |
||||
|
I quite didn't understand it, what's happening exactly? Make sure collision us turned off for bullet nodes. |
||||
|
Okay, I will try with collision off. Only thing is what about when bullets should be stopped by a dense material |
||||
|
...also try changing the 'shoot offset' values (x/y/z), so that the bullet doesn't collide with your gun/cannon/player model when it shoots (eg, if its a gun, make sure the bullet is not spawning 'inside' the gun model, but rather spawn it clear/outside of the gun barrel. If I remember correctly, wherever 'collide' is enabled for any target/model/object/building etc., the bullet-model/nodes will hit (collide) with them automatically when using 'shoot' - even if 'collide' is disabled on the bullet model itself. Only if 'collide' is disabled for any target object/model, the bullets will pass through instead of hitting. |
||||
|
turning collision off didnt change anything, also will mention that collision is off for both the player model and the gun models :/ confusion. I have had this issue in multiple projects im not sure why it happens or how to fix it and its pretty crucial to the projects it occurs in |
||||
|
I am not sure what's the exact issue you are facing, without actually looking at the problem, can you please share a sample ccb file or a video clip of your issue. To delete the bullet node, after it hits any object, you can use action on impact. It's been very long since I used the inbuilt action and behaviors. So it's hard to say anything without actually looking what problem you are facing, as you already mentioned that you have Collision off. |
||||
|
Yeah collision is off for any end everything attached to the camera and for bullet nodes as well I will record a clip to post |
||||
|
https://www.youtube.com/watch?v=... |
||||
|
Are you using a weapon-plugin or the coppercube functions? If you're using a plugin/extension, you'll have to contact the developer who wrote the script for you to fix the error. If it's default shoot actions, you'd have to post the ccb file for us to check as, unfortunately, we can't really identify the issue from the video alone. |
||||
|
Video doesnt show much.. cant see how you did setup your shoot action or your player hierarhy. For me it looks like direction issue ( but i am just quessing because i dont have much info ) Seems like at specific rotation your bullet does spawn ( in video i cant see does it flyes but i see it spawns -- any other rotation i cant see spawning at all ) -just quessing.. make sure bullet is set to shoot to camera target..also shoot from location make sure is correctly set. simple ccb file with error would be better and gives you solution faster. For testing i would set light ON -weapon and hands to transparent- bullet speed slow.. then you see does bullet spawns at correct spot and does it heading to the correct direction and does it hits player itself( can happens in some cases) |
||||
|
Yes its default shoot actions and yes its set to shoot to camera target. I'd prefer not to share the .ccb as this is a fairly large project ive been working on |
||||
|
you don't have to share the ccb, can you please just share the ScreenShot of the Shoot action that is related to that particular gun that's causing the issue? Or if it is possible you can create a separate sample ccb file with just the shoot action with same properties in order reproduce the bug, and then send that file, not the whole project. So that you can get some ideas or workaround or maybe a fix for your issue as well. |
||||
|
Here is a png of a screenshot of what I think your asking for https://www.mediafire.com/file/5odjk6wqitrlq8z/bug.png/file |
||||
|
try changing the displacement, the bullet it probably colliding with the barrel_end. |
||||
|
also, I see you've childed the gun/gun-barrel to the camera, so you're shooting from a child of the camera. That's given me problems in the past - try using the camera directly as the shoot node instead of shooting from a child, just to test. Children adopt the scale/rotation of the parent node which can screw things up sometimes. |
[ 1 2 ] Page 1 of 2 |
|