Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
multiple bullets from shotgun flying towards different directions

mraagney
Registered User
Quote
2021-03-17 06:54:25

hi,i am making an FPS game and i want to know how to make the shotgun fire more than 1 bullet and each one of the bullets flies in different directions


floydness
Registered User
Quote
2021-03-17 15:34:47

Use 3 shotgun models instead of just one and hide two of them
Setup each shotgun for what direction you want it to fire.


mraagney
Registered User
Quote
2021-03-17 17:40:43

ooh i actually remember thinking about that same idea while on bed,anyway thanks


just_in_case
Moderator
Quote
2021-03-18 00:38:52

Why there is neee to add 3 shotgun model?🤔 You don't need to add 3 different models.
Don't you know that you can add multiple actions to same node.
Simply attach shoot actions equal to the amount of bullet you want to get fired. Adding multiple shoot actions will be fine. And then you can adjust direction for every shoot action.

Suppose you want to fire 5 bullets when mouse is clicked then you can attach 5 shoot action to behavior when a key pressed do something.

And in each action you need to put 5 different direction.

Adding 3 models will increase the polygons and minimizing the use of extra polygons will result in slight increase in fps.
There is no need to the extra work of hiding and unhiding models and all.

Hope that helps😇


mraagney
Registered User
Quote
2021-03-21 07:46:17

oh,thanks


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (you are not logged in)


Text:

 

  

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


   






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