ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator Bullet nodes are disappearing at the gun barrel sometimes not always
person icon
sixvivid
Registered User
Quote
2024-09-15 11:32:53

Any thoughts anyone?

person icon
guest_Guest
Guest
Quote
2024-09-15 11:56:27

I quite didn't understand it, what's happening exactly? Make sure collision us turned off for bullet nodes.

person icon
sixvivid
Registered User
Quote
2024-09-17 04:58:48

Okay, I will try with collision off. Only thing is what about when bullets should be stopped by a dense material

person icon
vp
Guest
Quote
2024-09-17 07:44:05

...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.

person icon
sixvivid
Registered User
Quote
2024-09-18 03:18:03

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

person icon
just_in_case
Moderator
Quote
2024-09-18 13:30:00

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.

person icon
sixvivid
Registered User
Quote
2024-09-19 06:03:10

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

person icon
sixvivid
Registered User
Quote
2024-09-19 06:11:06

https://www.youtube.com/watch?v=...

person icon
VP
Guest
Quote
2024-09-19 08:30:06

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.

person icon
sven
Registered User
Quote
2024-09-19 10:14:00

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)

person icon
sixvivid
Registered User
Quote
2024-09-23 02:25:31

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

person icon
just_in_case
Moderator
Quote
2024-09-23 05:35:04

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.

person icon
sixvivid
Registered User
Quote
2024-09-23 10:50:08

Here is a png of a screenshot of what I think your asking for

https://www.mediafire.com/file/5odjk6wqitrlq8z/bug.png/file

person icon
VP
Guest
Quote
2024-09-23 14:30:28

try changing the displacement, the bullet it probably colliding with the barrel_end.

person icon
vp
Guest
Quote
2024-09-23 14:35:08

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.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |