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"

How to set a shape to a PhysicsVolume class in C++

Hey everyone,

I'm looking for a way to set a simple shape to my custom PhysicsVolume class created in C++. When I'm spawning this custom PhysicsVolume class, it doesn't have any shape set, I thought it would be as in the editor, a basic box of 200x200x200. This is what I want, if anyone can help, would be appreciated, thanks a lot.

Product Version: UE 4.20
Tags:
more ▼

asked Jul 11 '19 at 03:08 PM in C++ Programming

avatar image

Nazruden
8 1 4

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

1 answer: sort voted first

Up, I really need an answer on this please, I need to spawn a PhysicsVolume for every character I have, and I can't even create a blueprint from PhysicsVolume, only a C++ class so I can't bypass the issue I'm having with editing a blueprint with the correct shape and spawn it at runtime.

more ▼

answered Jul 12 '19 at 08:55 AM

avatar image

Nazruden
8 1 4

(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