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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Dynamic Actor with transformation that doesn't crahs on SetActorLocation?

I am creating characters dynamically, those characters have references to ctors as IK targets. So in addition to creating characters dynamically, I try to create an IK target for each character and set it in it's reference for IK actor.

I found that only actors with a mesh have a transformation. The issue is that when I create an actor of class AStaticMeshActor, when I set the location with SetActorLocation it randomly crash.

What am I doing wrong? I am spawning the AStaticMeshActor like so:

 AActor * IKActor1 = (AActor*)(GetWorld()->SpawnActor<AStaticMeshActor>());
     spawnedActor1->IKLeftHandTarget = IKActor1;

And then checking if IKLeftHandTarget is not null before setting it's new location with SetActorLocation. Then it crash. Actually sometimes it might run a few frames before crashing there.

How do I spawn a moveable actor target for my IK dynamically?

Product Version: UE 4.18
Tags:
more ▼

asked Feb 06 '18 at 01:15 PM in Bug Reports

avatar image

trackOfer
5 2 2 4

avatar image Jeff A ♦♦ STAFF Feb 12 '18 at 02:47 PM

Hello,

We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks

(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