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"

Transform a static mesh To a pawn

Hello, I bought an asset in the marketplace, this asset contains a boat that can float on the water with a buoyancy system. My problem is that this boat is a static mesh. And I need to be able to control this boat (with Wass) when the player enter in. I only way I found to do that is to make the boat a pawn. But I don't know how to do it because the boat's static mesh contains a buoyancy system and I don't think I can adapt

Product Version: UE 4.22
Tags:
more ▼

asked May 06 '19 at 07:57 PM in Blueprint Scripting

avatar image

R4ydenn
1

avatar image Lardo Deepdelver May 07 '19 at 09:41 AM

I assume the boat with the buoyancy is a blueprint Actor with a static mesh on it + some logic either in the blueprint actor or a component of this actor?

If that's the case what you would need to do is reparent the blueprint to inherit from Pawn, which would allow you to possess it and get input to the Pawn.

After which you would need to find out how your buoyancy system plays together with a movement system.

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

1 answer: sort voted first

Not sure for this exact mesh because I don't have access to it but usually for any static mesh you can right click on it in the content browser and ask it to make a blueprint actor out of the mesh and it should auto create the actor. You could then go an change the parent class to a pawn. Alternatively, you could just create a pawn blueprint and add a static mesh component and then add the static mesh you got from the marketplace. If it is a mesh it should add just fine.

more ▼

answered May 07 '19 at 03:15 AM

avatar image

Nebula Games Inc
5.4k 28 9 15

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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