x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

I'm having a problem with spawnactor not spawning with a projectile

I'm using the FPS template. When I fire point blank range at the ground or at an object directly in front of me the projectile never spawns. This can be replicated by started a new FPS project. I've made some tweaks that seems to minimize the effect somewhat. That was setting try different location, always spawn to the transform and also directing the spawn first person projectile to a default controller. You can see my changes here

alt text

I've also shot a video showing the issue - https://www.twitch.tv/videos/223414487

Product Version: UE 4.18
Tags:
capture.png (99.6 kB)
more ▼

asked Jan 29 '18 at 12:09 AM in Blueprint Scripting

avatar image

jrussbowman
1 1 1

avatar image ThompsonN13 Jan 29 '18 at 12:28 AM

are you sure its not spawning? is it possibly just spawning below your ground mesh.

avatar image jrussbowman Jan 29 '18 at 12:35 AM

That is the problem, I went to the edge of the landscape and tested. So I just need to figure out how to move back the point the projectile spawns from a bit?

avatar image ThompsonN13 Jan 29 '18 at 12:42 AM

well the first thing i can think of off hand would be to run a trace from the normal spawn point back towards the actor for anything not meant to be between them and if the trace hits something then set your spawn closer like say near the hit location.

avatar image jrussbowman Jan 29 '18 at 12:52 AM

I'm new enough to game design I'm going to have to read through the docs and/or google to figure out how to do that. But my daughter has asked to watch Dr Who, so priorities. Will poke at this tomorrow.

Thank you very much for helping me figure this out.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question