How can i inherit SplineComponent and place in the world?

Hi.

I have changed the USplineComponent as ENGINE_API and removed the MinimalAPI Specifier.
when i create a class inherited from USplineComponent and build my game, it wont appears in Class viewer.

How can i solve this?

In UDK i have successfully inherit from SplineActor and use it to create climbable ledges.

Components can’t be placed directly in the world. They need to be contained within an Actor.

You could create an ASplineActor which contains your component (see for example StaticMeshActor) or you could mark the class with the meta keyword BlueprintSpawnableComponent (see ShapeComponent.h for example) and then add the spline component to a blueprint Actor.

All that said, I’m not entirely certain of the state of the spline component in terms of usability, so once you place it I’m not sure how easily it is editable (it may be fine, but since I don’t see it being used anywhere in the code right now your mileage may vary).

thanks for your answer.
i have created the ASplineActor but when i place two ASplineActors thay wont connect to create a curved line and it becomes unusable!